package main import ( "fmt" ) func main() { var N, ans int fmt.Scan(&N) var h1, m1, h2, m2, t1, t2 int for i:=0;i