https://www.acmicpc.net/problem/11654
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner s=new Scanner(System.in);
String n=s.next();
char m=n.charAt(0);
int a=(int)m;
System.out.print(a);
}
}