import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
char a = scan.nextLine().charAt(0);
int result = (int) a;
System.out.println(result);
}
}
import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
char b = (char) a;
System.out.println(b);
}
}