http://www.spoj.com/problems/GUESSTHE/