2003' ACM/ICPCѵϰ 14

D: The Tourist Guide