There are 3 letters and 3 envelopes. Find the number of ways in which all letters are put in the wrong envelopes.
There are 3 letters and 3 directed envelopes. Write the number of ways in which no letter is put in the correct envelope.