<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_year_days(year_info):
 """Parse year days from a year info. """

    leap_month, leap_days = _parse_leap(year_info)
    res = leap_days
    for month in range(1, 13):
        res += (year_info >> (16 - month)) % 2 + 29
    return res