pranay varma's submission of Train Partner | CodeChef