Shivam Gupta's submission of Encoding | CodeChef