The first digit of the power
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
You are invited to a very simple task: "What is the first digit of the number "?
Input
Consists of several test cases. Each test is located on a separate line and contains one number .
Output
For each test case print in a separate line the first digit of desired result.
Examples
Input #1
Answer #1
Submissions 3K
Acceptance rate 24%