import java.util.Scanner; import java.lang.String; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); String a=sc.nextLine(); System.out.println(a.substring(a.length()-2,a.length()-1)); /* int num=sc.nextInt(); System.out.println((num%100)/10); */ } }