Task: Program Execution
Input (English): 1, 1, ['8713', '3585', 'u']
Output (English): 3178