Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

RGB7301 - Ахмад орны цифр

Өгөгдсөн натурал тооны ахмад орны цифрийг ол. 

Input

n натурал тоо өгөгдөнө. (n<=10^6).

Output

Ахмад орны цифр болох нэг цифр байна.

Example

Input:
1234
Output:
1

Added by:Bataa
Date:2013-01-08
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:NCSHARP C++ 4.3.2 CPP CPP14 JULIA PYPY3

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.