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.

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

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

Input

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

Output

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

Example

Input:
476
Output:
6

Added by:B@TJ@RG@L
Date:2020-03-19
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:C++ 4.3.2

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