#includeint main(){char c; scanf("%c",&c); if(c==' ')printf("%d\n",c); else if(c>='0'&&c<='9')printf("%d\n",c-'0'); else printf("%c\n",c); return 0;}