Task: Program Execution
Input (English): 5, 5, ['5339', 'c', '4457', 'k', '7165']
Output (English): 7165