Taranpreet Singh's submission of Train Journey | CodeChef