2003' ACM/ICPCѵϰ 5

C: Cog-Wheels