Suppose you have a Go program that takes as an input a random word of the string type.
Your task is to use slice expressions along with the built-in len() function to remove all the letters from the word, except for the last one.
For example, if the input word is uncopyrightable, your program should only print e.