y = int(input('Enter Year: '))
if ((y % 4 == 0 and y % 100 != 0) or y % 400 == 0):
    print('Leap Year')
else:
    print('not Leap Year')

y = int(input('Enter Year: '))
if ((y % 4 == 0 and y % 100 != 0) or y % 400 == 0):
    print('Leap Year')
else:
    print('not Leap Year')
