Task: Program Execution
Input (English): 6, 10, ['q', '3713', 'u', '2237', 't', 'H', '8181', 'F', '717', '1199']
Output (English): 1199, 717, F, 8181, H