Input (grade 10): The months in the first half of the year all have 31 days, to take into account the slower movement of the sun across the ecliptic at this time.
Output (grade 6): This was done to take in account for the slower movement of the sun across the sky during that time.