#include using namespace std; string up(string x) { if (x == "C") return "C#"; if (x == "D") return "D#"; if (x == "E") return "F"; if (x == "G") return "G#"; if (x == "A") return "A#"; if (x == "B") return "C"; return ""; } int main() { string s; cin >> s; cout << up(s) << endl; return 0; }