Task: Program Execution
Input (English): 2, 2, ['V', '6579', '3313', '1825', '745']
Output (English): 6579