Task: Program Execution
Input (English): 3, 3, ['4487', 'A', '6949']
Output (English): 6949