Task: Program Execution
Input (English): E, 7895, 65, v, 4771, W, b, b, Q
Output (English): 1, 4, 6, 7, 8, 9