a,l=:+,:<
p 6484,a,0,1,3,l,2,3,3
[0,1].each{|x|p a,x,3,x
30.times{|t|v=x+4;u=x*60+9+t;p a,v,v,v,a,v,3,6,*[a,6,6,6]*(29-t),l,6,x,u,a,v,u,v}}
60.times{|t|p a,2,2,2;t.times{|s|p a,8+t-s,69+s,5,l,3,5,6,a,2,6,2}}