Task: Program Execution
Input (English): 3, ['M', '4127', '6681', 'X', 'q', 'O', 'a', 'x', 's', 'Q']
Output (English): X, q, O, a, x, s, Q