#include using namespace std; int main() { int broj; cin >> broj; cout << broj%100/10 << endl; return 0; }