Enter a string, the output of the last character
Input formats:
An input string
Output formats:
The last character
Sample input:
12345678
Sample output:
8
print(input()[-1])
Enter a string, the output of the last character
An input string
The last character
12345678
8
print(input()[-1])