Task: Program Execution
Input (English): 6, ['2981', 'H', '8937', '8149', '6041', '767', 'Q', 'f', '5613', '8263', '9965', '8971', 'N', '7503', '279', '4631']
Output (English): Q, f, 5613, 8263, 9965, 8971, N, 7503, 279, 4631