In a three-storey building, there are four rooms on the ground floor, two on the first and two on the second floor. If the rooms are to be alloted to six persons, one person occupying one room only, then number of ways in which this can be done so that no floor remains empty is