Time limit
2000 ms
Memory limit
65536 kB
OS
Linux
Source

Silver Cow Party

POJ - 3268