s = str(input())
if s not in {'E', 'B'}:
    print(s+'#')
elif s == 'E':
    print('F')
else:
    print('C')