problem 19

very simple with python calendar!