Arrangement Based Questions: Set 36 There are nine floors building in the area in which nine people are living on…