Enter or import a list of numbered items in the 'input' list. The 'output' list will display the number of steps necessary to reach a cosmic item (an item with the number of letters in its name corresponding with its ID). If an item reaches a loop, the output will be in the form aLb, where a is the number of steps necessary to reach the loop, and b is the size of the loop. If an item is infernal, that is, the number of letters in its name is beyond the scope of the set, the output will be in the form aX, where a is the number of steps before the escape. Press 'X' to clear the 'input' list.
For those unfamiliar, this is based on the principle that in English, 'four' is a cosmic number because it's the only one whose name contains the number of letters it represents. If you repeatedly count the number of letters in a number's name, you will always end up at four, after a certain number of steps. This calculates the number of steps to get to either a cosmic item or cosmic loop for any finite set of numbered strings.