Task: Program Execution
Input (English): 6, ['m', 'O', '1671', '853', '5729', 'X', '6077', '9143', 'X', '4749', 'm', 'i', 'H', '3897', 'x', '3499', 'x', 'V', 'D']
Output (English): m, O, 1671, 853, 5729, X