Task: Program Execution
Input (English): 1, 3, ['3791', '6445', 'c', 'X']
Output (English): 10236