Task: Program Execution
Input (English): 4, ['X', '5593', '8329', '6489', '8281', '6377', 'S', '3115', '3043', 'h', 'M', 'h']
Output (English): X, 5593, 8329, 6489