Task: Program Execution
Input (English): 2, 3, ['V', '5783', 'w', '3959', '8167', '9587', '961', '7113', 'a', '8963', '1797']
Output (English): 5783, 8167, 7113, 1797