Task: Program Execution
Input (English): 2, ['g', '6847', 'B', '6611', 'a', 'J']
Output (English): B, 6611, a, J