#include <stdio.h> int main() { int num = 0; scanf("%d",&num); printf("%d", (num / 10) % 10 ); return 0; }