Task: Program Execution
Input (English): 221, g, 27, l, 337, 497
Output (English): 1, 2, 3, 4, 7, 9