s = input()
if s == "E":
    print("F")
elif s == "B":
    print("C")
else:
    print(f"{s}#")