Problem B: 为所欲为

Time Limit: 1 Sec Memory Limit: 512 MB

Description