Task: Program Execution
Input (English): 10, ['3177', '2487', 'T', 'O', '3979', 'R', 'v', '7315', 'L', '7099', 'X', '5823', '1547', '8951', 'o', 'y', '3833', 'm', '6885', 'P', 'q', '6331', 'a', 'V', '185', '6259']
Output (English): X, 5823, 1547, 8951, o, y, 3833, m, 6885, P, q, 6331, a, V, 185, 6259