Task: Program Execution
Input (English): 3, ['6505', '9597', '1313', 'B', 'G', '679', 'H']
Output (English): 6505, 9597, 1313