Task: Program Execution
Input (English): 3, 6, ['D', '8807', '507', 'U', '1425', 'w', 'a']
Output (English): w1425U507