Task: Program Execution
Input (English): q, e, m, a, 311, q, 227, 407, q, 359, 193
Output (English): 0, 1, 2, 3, 4, 5, 7, 9