CodeWars 2013 - By BITS, Pilani | CodeChef