The first digit of the number
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
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.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 33K
Acceptance rate 50%