If you two are willing to settle by yourselves and the only problem is that how much the appartment worth, you may do it this way:
Just ask one of you to set a price of the appartment, the other one will choose if he wants the appartment or get half of the price in cash.