#include<stdio.h>
#include<stdio.h>
int main(){
    char a,b;
    scanf("%c",&a);
    b=tolower(a);
    printf("%d",b);
    return 0;
}