Task: Program Execution
Input (English): 2, ['D', '6239', 'w', 'P', '4935', 'u']
Output (English): D, 6239