1. Six different letters are to be put into 6 addressed envelopes.

a) In how many ways can this be done?

b) In how many ways can letters be put into envelopes with the wrong address?

2. In how many ways can 10 chairs be allocated to three rooms with 3 in the first, 5 in the second, and 2 in the third?