Գրեք սա: Consensus division in an arbitrary ratio