Task: Program Execution
Input (English): 10, 14, ['w', '1857', '3359', 'n', '5831', 'B', '1805', '6145', 'D', 'I', 'N', '7847', 'a', '8349', '6137', '5177', 'L']
Output (English): 8349, a, 7847, N, I