Task: Program Execution
Input (English): U, 589, 241, 3597, 3175, 2415, g, z, 5441
Output (English): 2, 3, 4, 5, 6, 9