Bùi Việt Dũng's submission of Train Partner | CodeChef