十位数+个位数: xxx%100    (对100求余数)
十位数:(xxx%100)//10   (再对10,地板除)
个位数:  xxx%10    (对10取余数)


xxx=int(input())
yushu=xxx%100
geweishu=yushu%10
shiweishu=yushu//10

qiuqishiweishu=(xxx%100)//10
print(qiuqishiweishu)