Task: Program Execution
Input (English): 5, 8, ['t', 'S', '5611', '3977', 'U', 'D', '5831', 'O', 'v', 'K', 'B', '2175', '6719', '6945']
Output (English): U, D, 5831, O