Task: Program Execution
Input (English): 3, ['1129', 's', 'R', 'X', 'i', 'e', '1839', 'n', 'q', '9767', 'O']
Output (English): X, i, e, 1839, n, q, 9767, O