Write a program that calculates how many distinct letters the input word has. The word is stored in the variable word. Print out the result you'll get.
You must use a method for creating a set and a function that helps you compute the number of elements in it.