// editor1
#include<stdio.h>
int main()
{
    char a;
    scanf("%c",&n);
    printf("%d",n);
    return 0
}