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