Task: Program Execution
Input (English): 6, ['5197', 'I', 'W', 'I', 'F', '247', '9841', 'L', 'p', 'Z', '7361', 'Z', 'A', 'u']
Output (English): 5197, 9841, A