Given a dictionary of words, print out all the words with exactly three letters.
Input: {"dog": 1, "cat": 2, "rabbit":3, "shoe": 4, "hat": 5}
cat, rabbit
The words with exactly three letters are "dog", "cat", "hat" and "shoe".