#include<iostream> using namespace std; int main(){ int n; cin>>n; if(0<=n&&n<=4){ cout<<(char)('a'+n); }else{ cout<<(char)('A'+n-5); } return 0; }