Task: Program Execution
Input (English): 6, ['5287', '1439', 'G', '5699', 'm', '1179', 'a', 'O', '7401', 'f', '6219', '9971', 'G', '3485', '6305', '6727', 'H', '4049']
Output (English): a, O, 7401, f, 6219, 9971, G, 3485, 6305, 6727, H, 4049