Ayush Sinha's submission of Memento | CodeChef