Task: Program Execution
Input (English): 303, p, 201, e, 209, 47, q
Output (English): 0, 1, 2, 3, 4, 7, 9