Rajan Kumar Raj's submission of Memento | CodeChef