Task: Program Execution
Input (English): 3, 6, ['b', 'f', '2047', '9945', '2929', 'O', 'o', 'E']
Output (English): O, 2929, 9945, 2047