#include<stdio.h>
int main()
{
    char ch;
    scanf("%c",&ch);
    ch=ch+('a' 'A' &&ch<='Z');
    printf("%d",ch);
    return 0;
}