Samarth Gupta's submission of Remainder | CodeChef