Task: Program Execution
Input (English): 4, 5, ['V', 'T', '3289', '8865', '1499', 'N', 'x']
Output (English): 8865, 1499