Task: Program Execution
Input (English): 1, 1, ['351', '1831']
Output (English): 351