A small guesthouse has 3 rooms, each with a unique theme. One day 6 friends arrive to spend the night. There are no other guests that night. The friends can room in any combination they wish, but with no more than 3 friends per room. In how many ways can the guesthouse manager assign the guests to the rooms?
480
510
540
570
600