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