n = input() if "2" in n: print("2020") else: print("1")