Problems
The first digit of the number
The first digit of the number
Find the first digit of an integer. Start count digits from the leftmost one.
Input
One 64-bit integer containing at least one digits. The number can be negative.
Output
Print the first digit of a given integer.
Input example #1
1234567890123
Output example #1
1
Input example #2
-7654321
Output example #2
7