Task: Program Execution
Input (English): 5, 8, ['B', '2897', 'i', 'E', '5101', 'T', '3721', 'W', 'a', '8451']
Output (English): 5101, T, 3721, W