#include<stdio.h>
int main()
Char ch;
Scanf("%c",&ch);
ch= (ch >='A'&& ch <='Z')?(ch + 32):ch;
Printf("%d",ch);
return0;