SPOJ problem WITTYBOY
can anyone tell me the approach to this problem. https://www.spoj.com/problems/WITTYBOY/
ICPC NA North Central and South Division