Task: Program Execution
Input (English): 4, 7, ['R', '203', '7993', '9435', '5189', '9733', '9435', 'x', 'E']
Output (English): 9435, 9733, 5189, 9435