Gurpreet Singh's submission of Train Partner | CodeChef