Task: Program Execution
Input (English): 5, 7, ['8851', 'X', 'U', 'P', '6473', '1971', 'K', '7861', '8221', 't', '4413', '8951', '5309', 'V', '6231', 'e']
Output (English): 6473, 1971, K