Task: Program Execution
Input (English): 35, z, 477, u, 23, 39, 97, b
Output (English): 2, 3, 4, 5, 7, 9