http://www.codechef.com/submit/complete/65002-8877-APRIL14-534644e2f2239