Task: Program Execution
Input (English): H, 1257, 9247, 9217, 3909, f, 4191, E
Output (English): 2, 3, 4, 5, 7