$$.upto(3e3){|y|f=y/?d g=(y%19*19+15-f/3+f-=f/4)%30 x=(f-y-y/4-g-=4+g/=27+f/9)%7+g-6 puts"%02d #{x<0?:MARCH: :APRIL}, 0#{y}".%1+x%31}