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