#!/usr/bin/env python3 s = input() if s == 'E': print('F') elif s == 'B': print('C') else: print('{}#'.format(s))