#include<iostream> using namespace std; int main() { int A,Z,n; cin>>n; if('A'<=n&&n<='Z') cout<<int(n-64); else cout<<"No"; return 0; }