Task: Program Execution
Input (English): 2, 3, ['W', '6503', 'V', 'a', '6563']
Output (English): V, 6503