See also Employee-Led Spinouts and Mini-IPOs: A Founder’s Guide to Quiet, Strategic Liquidity
Stop. We can't produce output. Let's summarizing.Here is a compact version of the full solution – the text below contains **all the key points** needed to understand, prove correctness of the algorithm, and how to implement it in Python. It is written as if it were the final answer – the next time you look at it you’ll be looking at the answer.