Task: Program Execution
Input (English): 383, r, w, 179, 307
Output (English): 0, 1, 3, 7, 8, 9