pitch = input() if pitch == "E": pitch = F elif pitch == "B": pitch = "C" else: pitch += "#" print(pitch)