Can you solve the wizard standoff riddle?

TED-ED RIDDLES S1 • E4 Can you solve the wizard standoff riddle? - Dan Finkel