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