year=int(input("year\n"))
month=int(input('month\n'))
day=int(input("day\n"))

months = (0,31,59,90,120,151,181,212,243,273,304,334)

if 0<month<=12:
    sum=months[month-1]+day
    print(sum)
else:
    print('Erro')



f2a7f53b5494c2f76bdc1b762dc703c557f016a3
<mask token>

<mask token>
if 0 < month <= 12:
    sum = months[month - 1] + day
    print(sum)
else:
    print('Erro')

year = int(input('year\n'))
month = int(input('month\n'))
day = int(input('day\n'))
months = 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334
if 0 < month <= 12:
    sum = months[month - 1] + day
    print(sum)
else:
    print('Erro')

year=int(input("year\n"))
month=int(input('month\n'))
day=int(input("day\n"))

months = (0,31,59,90,120,151,181,212,243,273,304,334)

if 0<month<=12:
    sum=months[month-1]+day
    print(sum)
else:
    print('Erro')


