puts 9394,a=?+,0,1,m=9,?<,2,9,u=3,[a,5-u+=1,3,9]+(0..59).map{[a,u,u,u,a,3,u,6,[a,6,6,6]*(59-_1),?<,6,9,m+=1,a,u,m,u]},[a,5-u+=1,3,9]+(0..59).map{[a,u,u,u,a,3,u,6,[a,6,6,6]*(59-_1),?<,6,9,m+=1,a,u,m,u]},(0..59).map{|_|[a,2,2,2]+(1.._).map{[a,40+_-_1,99+_1,5,?<,3,5,5,a,2,5,2]}}