Task: Program Execution
Input (English): 1, 4, ['5101', '2331', '1939', '9125']
Output (English): 18496