year = 1889

if year < 1900:
    print("That's from the 1800s.")
elif year < 2000:
    print("That's from the 1900s.")
else:
    print("That's from the 2000s or later.")