eolymp
Competitions

Lesson 4. September 24 - 30. Loops: while statement

Second digit of the number

Find the second digit of an integer. Start count digits from the leftmost one.

Input

One 64-bit integer containing at least two digits. The number can be negative.

Output

Print the second digit of a given integer.

Time limit 1 second
Memory limit 128 MiB
Input example #1
43568
Output example #1
3