Srivaths P's submission of Train Partner | CodeChef