Task: Program Execution
Input (English): 2, ['V', '831', 'U', '8149']
Output (English): V, 831