Task: Program Execution
Input (English): 6, ['X', 'N', 'M', '163', '8555', '3295', '4167', 'o', '3113', 'H', '675', '9179']
Output (English): X, N, M, 163, 8555, 3295