// editor4
#include<stdio.h>
void main()
{
    int V;
    scanf("%c",&V);
    printf("%d",V);
}