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