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