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.

RGB7007 - Сүүлийн цифр

Өгөдсөн тооны сүүлийн цифрийг ол.

Input

Бүхэл тоо өгөгдөнө. Int төрөл.

Output

Сүүлийн цифр.

Example

Input:
476
Output:
6

Added by:Bataa
Date:2011-05-10
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.