write a program to print the last character of a string.

 write a program to print the last character of a string.

    

    x=input()

    print(x[-1])

Comments