CPython lite logoProblemsContests

23. First Digit of a Number

Write a program that finds the first digit of a given number.


Input

On the first line, a natural number n(1n109).

Output

In a single line, the solution to the problem.


Sample input 1

1234

Sample output 1

1

Login to be able to submit.

BeginnerSimpleStringsLoops
811 / 54
Solved / unsolved count
1.0 s / 512 MB
Limits