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