S = input() if S =="B": print('C') elif S=='E': print('F') else: print(S+'#')