puts 6483,a=?+,0,1,3,?<,2,3,3,[0,1].map{|x|[a,x,3,x]+(9..38).map{[a,v=x+4,v,v,a,v,3,6,[a,6,6,6]*(38-_1),?<,6,x,u=x*60+_1,a,v,u,v]}},(1..59).map{|t|[a,2,2,2]+(1..t).map{[a,9+t-_1,68+_1,5,?<,3,5,5,a,2,5,2]}}