Task: Program Execution
Input (English): 2, 7, ['V', 'N', 'Z', '4725', '2911', '279', 'N']
Output (English): 7915