6 different letters were written to 6 different people and 6 different envelopes were prepared with the addresses of these people written on them. In how many different ways can you put a letter in each envelope without putting a letter written to this person in the envelope with the name of any person?