Task: Program Execution
Input (English): 11, 291, q, 3, b, r, j, 247, 101, p, 313, 267
Output (English): 0, 1, 2, 3, 4, 6, 7, 9