1024: 计算字母序号
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner cin=new Scanner(System.in);String s=cin.next();int ascill=s.charAt(0);if(ascill>96) System.out.println(ascill-96);else System.out.println(ascill-64);}
}