Task: Program Execution
Input (English): 4, ['3943', 'I', 'U', 'B', 'a', 'g', '9329', '1821', '1817', 'A', 'B', 'm']
Output (English): 3943, a, 1817