Task: Program Execution
Input (English): 3, 3, ['6399', '7747', '6463', '5493', 'v']
Output (English): 6463