Task: Program Execution
Input (English): 1, 4, ['2313', '4987', '9409', 'g']
Output (English): 16709