Task: Program Execution
Input (English): 3, 4, ['1395', '217', 'K', '5747']
Output (English): 5747