n=int(input()) if n % 4 == 0 n % 100 != 0 or n % 400 == 0: print(29) print(28)在if n % 4 == o 加"and"中間print"elif"