Task: Program Execution
Input (English): 4, 10, ['R', 'E', '7121', 'L', '3149', 'b', 'Z', 'O', '8363', '3835', 'j', '2389']
Output (English): L, 3149, b, Z, O, 8363, 3835