#include <stdio.h> int main() { int a,b,c; scanf("%d",&a); b=a%100; c=b/10; printf("%d\n",c); return 0; }