36 multiplied by 7 is 252.
Since the only month with exactly 4 weeks is February (3 years in 4) there must be sightly less than (36/4 =9) nine months. It is easiest to count through the year for periods of 36x7=252 days to see how many months are captured in each period. So, depending on the period there are 8 months and one of 5,7,8, 13 or 14 days.