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