I am too brain dead to think of clever elemental shuffling or conditionals, so the strategy here is simply to create the most convoluted route to extract the least amount of material, a single earth atom from every input. The machine uses several desynced processes to juggle the atoms around the suppressed input until the two-atom stick is passed to the right chamber.