Dustin has five hats, five shirts, five pairs of pants, and five pairs of shoes; he has one of each in blue, green, gray, silver, and gold (his five favorite colors). Dustin is picky about what he wears: he insists on his shoes being the same color as at least two other articles of clothing in the outfit. However, he refuses to wear all silver or all gold (because that's tacky). How many possible outfits can Dustin wear?