Time limit
1000 ms
Memory limit
10000 kB
OS
Linux
Source

The Doors

POJ - 1556