Task: Program Execution
Input (English): 6, 8, ['w', '7031', 'E', '1249', '5887', '73', '2649', '3175', 'p']
Output (English): 3175, 2649, 73