def main():
year = int(input("Input the year from 1900-2099: "))
a = year % 19
b = year % 4
c = year % 7
d = (19 * a + 24) % 30
e = (2 * b + 4 * c + 6 * d + 5) % 7
month = 22 + d + e
print(month)
wrongyears1 = 1954
wrongyears2 = 1981
wrongyears3 = 2049
wrongyears4 = 2076
if wrongyears1 or wrongyears2 or wrongyears3 or wrongyears4:
if month > 31:
newmonth = month - 38
print("Easter is in April: ", newmonth)
else:
newmonth = month - 7
print("Easter is in March: ", newmonth)
if year >= 1900:
if year <= 2099:
if month > 31:
newmonth = month - 31
print("The Easter is in April: ", newmonth)
else:
print("The Ester is in March: ", month)
else:
print("Wrong Year")
else:
print("Wrong Year")
main()