Task: Program Execution
Input (English): 3, 5, ['E', '1271', 'T', '8009', '2269', 'B', 'V']
Output (English): T, 8009, 2269