st=input()

if st=="E":
    print("F")
elif st=="B":
    print("C")
else:
    print(st+"#")