n = int(input())if ((n%100 != 0 and n%4 == 0) or (n%400 ==0)): print('a leap year')else: print('a normal year')
閏年萬用最有效率方式!!if ((year & 3) == 0 && ((year % 25) != 0 || (year & 15) == 0)) { /* leap year */ }
if ((year & 3) == 0 && ((year % 25) != 0 || (year & 15) == 0)) { /* leap year */ }