Task: Program Execution
Input (English): 2, ['H', '8471', 'w', 'G', '7007', '9807', 'm', 's', 'H']
Output (English): H, w, 7007, m, H