In a hotel, four rooms are available. Six persons are to be accommodated in these four rooms in such a way that each of these rooms contains at least one person and at most two persons. Then the number of all possible ways in which this can be done is_____.
Find the number of all possible ways in which this can be done is:
To accommodate six people in four rooms we can have people in each room respectively.
So,
The total possible combinations are
Hence, the correct answer is .