example find the number of ways to place people into rooms with person in each room