Task: Program Execution
Input (English): 3, 5, ['V', '2739', '4247', '1185', '9119']
Output (English): 4247, 1185, 9119