Task: Program Execution
Input (English): 2, 3, ['k', '3877', 'c', '983']
Output (English): 3877c