aman kumar's submission of Train Partner | CodeChef