Task: Program Execution
Input (English): n, 481, 51, w, 103, l, 383, 481, 335, 227, q
Output (English): 0, 1, 2, 3, 4, 5, 7, 8