string = input()


fchar = string[0]
lchar = string[-1]
print(fchar,lchar)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: