Given a dictionary of words, print out all the words with exactly three letters.
{"dog": 1, "cat": 2, "rabbit":3, "shoe": 4, "hat": 5}
dog
cat
hat
Complete the following task based on the instruction and optional input provided.### Instruction:
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}

### Output:
dog
cat
hat