import sys year_level = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] year_leap = [0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] res = 0 year, month, day = map(int, input().strip().split(' ')) if year % 100 == 0: if year % 400 == 0 and year % 4 == 0: for i in range(month): res += year_lea...