Task: Program Execution
Input (English): 3, 5, ['p', '5885', 'Q', '9797', 'D', 'Y', '3531', '7551', '3125', 'c', '1953']
Output (English): Q9797D