Task: Program Execution
Input (English): o, 383, 417, x, 311, l, r, 407
Output (English): 0, 1, 3, 4, 7, 8