A greedy algorithm for dropping digits. (4th November 2021)