Task: Program Execution
Input (English): 2, 12, ['1091', 'q', 'R', '4871', '3147', '2631', 'x', '4051', '9307', 'K', '7253', 'B']
Output (English): B, 7253, K, 9307, 4051, x, 2631, 3147, 4871, R, q