Task: Program Execution
Input (English): 4, ['353', '3607', 'X', 'F', '7267', 'a', '7661', '8543', '6333', '1137', 'E', 'E', '527', '3223']
Output (English): 353, 3607, X, F