Using all the letters of the word GIFT how many distinct words can be formed?