eolymp
bolt
Try our new interface for solving problems
Problems

Digit 2

Digit 2

Given a positive integer $n$. Print the penultimate digit from the right (tens place) of the number $n$. \InputFile One positive integer $n~(n > 9)$. \OutputFile Print the tens digit of $n$.
Time limit 1 second
Memory limit 128 MiB
Input example #1
27
Output example #1
2