s = input() if s not in ['E', 'B']: print(s + "#") elif s == 'E': print("F") else : print("C")