/* -*- coding: utf-8 -*- * * 1735.cc: No.1735 C# - yukicoder */ #include #include #include using namespace std; /* constant */ const int N = 12; const char nts[N + 1][4] = { "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "C" }; /* typedef */ /* global variables */ /* subroutines */ /* main */ int main() { char s[4]; scanf("%s", s); for (int i = 0; i < N; i++) if (strcmp(s, nts[i]) == 0) { puts(nts[i + 1]); break; } return 0; }