Tanmay Datta's submission of Codathon | CodeChef