You are invited to a very simple task: "What is the first digit of the number nn"?
Consists of several test cases. Each test is located on a separate line and contains one number n (1≤n≤109).
For each test case print in a separate line the first digit of desired result.