Task: Program Execution
Input (English): 1, 4, ['K', 'Y', '5547', '9167', '2345', '5065']
Output (English): 14714