Lokesh Khandelwal's submission of Modulo | CodeChef