2003' ACM/ICPCѵϰ 8

A: Temple of Dune