Task: Program Execution
Input (English): 2, 3, ['Q', '2855', '9757', 'A', 'R', '3395', 'a', 'F', '1211', 'x', 'B']
Output (English): 2855, 9757