Task: Program Execution
Input (English): 5, ['B', '7249', 'F', '6441', 'a', '5553', 'a', '2783', '4999', 'a']
Output (English): B, 7249, F, 6441, a