#include #define rep(i,n) for(int i = 0; i < n; i++) #define srep(i,a,b) for(int i = a; i < b; i++) #define all(A) (A).begin(),A.end() #define MOD 1000000007 using namespace std; using ll = long long; using P = pair; using Graph = vector>; int main(void){ char s; cin >> s; if(s == 'A') cout << "A#"; else if(s == 'C') cout << "C#"; else if(s == 'D') cout << "D#"; else if(s == 'F') cout << "F#"; else if(s == 'G') cout << "G#"; else if(s == 'E') cout << "F"; else cout << "C"; cout << endl; }