#include using namespace std; #define rep(i,a,b) for(LL i = a;i=b; i--) #define INF ((1LL<<62)-(1LL<<31)) #define ooki 9,223,372,036,854,775,807 #define tii -9,223,372,036,854,775,808 typedef long long LL; int main(){ vector a(13); a[0]="C"; a[1]="C#"; a[2]="D"; a[3]="D#"; a[4]="E"; a[5]="F"; a[6]="F#"; a[7]="G"; a[8]="G#"; a[9]="A"; a[10]="A#"; a[11]="B"; a[12]="C"; string s; cin>>s; rep(i,0,13){ if(a[i]==s){cout<