#
# Name: Michele Van Dyne
# Description: Demonstrates of using boolean operations to calculate if
# a year is a leap year or not
#
year = int(input("Enter the year: "))
isLeapYear = False
# Leap year if divisible by 4 but not by 100
isLeapYear = (year % 4 == 0) and (year % 100 != 0)
# But also leap year if divisible by 400
isLeapYear = isLeapYear or (year % 400 == 0)
print(isLeapYear)