Number of Derangements on Finite Set/Examples/7

Example of Number of Derangements on Finite Set
A correspondent writes $7$ letters and addresses $7$ envelopes, one for each letter.

In how many ways can all the letters be placed in the wrong envelopes?

Solution
From Number of Derangements on Finite Set: