apple pie's submission of Bomb the base | CodeChef