Task: Program Execution
Input (English): 327, s, 329, q, 249, i
Output (English): 2, 3, 4, 7, 9