First Digit
Submit solution
Points:
100
Time limit:
1.0s
Memory limit:
256M
Author:
Problem types
Allowed languages
Python
Given a non-negative integer \(n\), print its leftmost decimal digit.
Input
One line containing \(n\).
The input satisfies:
- \(0 \le n \le 10^18\)
Output
Print the first digit of \(n\).
Example
Input
12030
Output
1
Comments