Task: Program Execution
Input (English): 3, 10, ['4887', '713', '6613', '179', '7699', '2037', '1265', '5643', 'G', 'U', '7859', '9937', '7151', '1641', '9141']
Output (English): U, G, 5643, 1265, 2037, 7699, 179, 6613