Task: Program Execution
Input (English): 2, 5, ['V', '2973', '4341', '3339', '1379', '9477']
Output (English): 9731933314343792