Is your horseshoe on the other hoof?

Memory Limit : 262144 kB
Time Limit : 2000 ms
Source Limit : -
Origin : CodeForces - 228A

Your submission status
for this problem