There are 6! ways to arrange the hats. The number of ways for which no guest will receive the proper hat is 5! (since there are 5 wrong hats for the first guest, 4 for the second guest, and so on). The probability that no guest will receive the proper hat is: