Task: Program Execution
Input (English): 5, 14, ['71', 'P', '9765', '9899', '2053', 'W', 'U', 'G', '3711', '9027', '6695', '7727', '6683', '6249', '4879', 'D']
Output (English): 6249, 6683, 7727, 6695, 9027, 3711, G, U, W, 2053