manas agrawal's submission of Apocalypse Revisited | CodeChef