Swati Ranjan's submission of Train Partner | CodeChef