Task: Program Execution
Input (English): 3, 7, ['S', 'b', 'Q', '5437', 'W', 'b', '1643', '519', '3809', 'T', '4567', 'D']
Output (English): 1643, b, W, 5437, Q