NOTES = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"] def main(): input_note = input() print(note_halfstep_up(input_note)) def note_halfstep_up(note): if note == "A#": return "C" else: half_up = NOTES.index(note) + 1 return NOTES[half_up] if __name__ == "__main__": main()