Task: Program Execution
Input (English): 6, 16, ['S', '697', 'a', 'O', '4827', '8595', 'U', '9561', '8619', 'S', 'n', '5813', '7813', '9745', '911', 'P', '3681', '2315']
Output (English): 8595, U, 9561, 8619, S, n, 5813, 7813, 9745, 911, P