Ankit Sharma's submission of Encoding | CodeChef