Task: Program Execution
Input (English): 3, 4, ['6025', 'W', '4529', 'D', '9719', '6937', '1967', 'U']
Output (English): D4529