Run ID:94143

提交时间:2024-10-19 19:38:23

a = input().split() b = int(a[0]) c = int(a[1]) d = int(a[2]) x = 0 if b%4 == 0 and b%100 != 0 or b%400 == 0: x += 1 if c%4 == 0 and c%100 != 0 or b%400 == 0: x += 1 if d%4 == 0 and d%100 != 0 or d%400 == 0: x += 1 print(x)