Task: Program Execution
Input (English): 2, ['z', 'M', 'M', '7045', 'x', '351', '6981', '3979', 'a', '8417', '6371', '5717', 'R', '9143', '2837', '9351', '1705', '197', '8869']
Output (English): z, M, x, 6981, a, 6371, R, 2837, 1705, 8869