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