#include <stdio.h> int main(void) { int x; scanf("%d",&x); printf("%d",(x%100)/10); return 0;}
123
2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!