Task: Program Execution
Input (English): 3, ['7941', 'L', '9979', '8791', 'U', '6605', 'D', 'p', 'k', 'w', '7245', '6823', 'I', 'S', '9587']
Output (English): 7941, L, 9979