Task: Program Execution
Input (English): 1, 1, ['5187', '2893', '493', '9853']
Output (English): 5187