a=int(input())
c=a%100
print(c//10)