Try to get the last entry to be the highest, starting with n 1's Press numbers 1-9 to select entries A mode: Subtract 1 from the selected entry and add 1 to the one after it. B mode: Subtract 1 from the selected entry and flip the values of the next two entries F mode: Simulate pressing A until they the selected entry is 0 Space key:
This can work with any number of entries, even though I picked 9 as a maximum because there are 9 digits other than 0