$$.upto(3e3){|y|b=y/?d c=y%?d h=(b+15-b/3-b/4+19*a=y%19)%30 z=h-10-(a+h*l=(4+b%4*2+c/4*2-h-c%4)%7)/?±*7+l puts"%02d #{z<0?:MARCH:'APRIL'}, 0#{y}"%-~z%=31}