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