is_leap_year = lambda x: x % 400 == 0 or (x % 100 != 0 and x % 4 == 0)