See valuation of all three flats can be done by a valuer and accordingly 3 properties can be amicable devided one party cam can compensate In Monterey terms if he is.gettimg extra In this way you won't have to sale the property.
So a partition deed can be made and same can be devided.
If same is not agreeable then property can be jointly sold and consoderation can be devided.