#include <stdio.h>

int main() {
    char a='a';
    scanf("%c",&a);
    printf("%d",a);//%d ASCII输出
    return 0;
}