import java.util.Scanner;
class Dome1
{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
System.out.println("请输入你要算的数:");
int x=sc.nextInt();
int y=0;
if(x>0){
y = (x/100)%10;
System.out.println("你输入的数的百位上的数是:"+y);
}
}
}