编程题:find the last character
Input a string and output the last character of the string.
### Input Specification:
Input a string.
### Output Specification:
Print the last character of the string.
### Sample Input #1:
in
1234567
### Sample Output #1:
out
7
### Sample Input #2:
in
Hello World
### Sample Output #2:
out
d
答案:若无答案欢迎评论
### Input Specification:
Input a string.
### Output Specification:
Print the last character of the string.
### Sample Input #1:
in
1234567
### Sample Output #1:
out
7
### Sample Input #2:
in
Hello World
### Sample Output #2:
out
d
答案:若无答案欢迎评论