Carl mailed ads for his new craft business to three friends. He asked each friend to mail three copies to their friends. Each friend had to then mail ads to three of their friends, and so on. How many ads were sent in the sixth mailing?