Write a program that finds the first digit of a given number.
On the first line, a natural number n(1≤n≤109).
In a single line, the solution to the problem.
1234
1
Login to be able to submit.