eolymp
Competitions

PP1 Week 1 Introduction Part 2

Third from right

Given positive integer. Print its third digit from the right.

Input

One positive integer n (100n109).

Output

Print the third digit of number n from the right.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1234567
Output example #1
5
Source Ramin Textbook Z1.4