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