from sys import stdin readline = stdin.readline s = str(readline().rstrip('\n')) if s == 'E': s = 'F' elif s == 'B': s = 'C' else: s = s + '#' print(s)