Task: Program Execution
Input (English): 6, 10, ['S', 'O', 'O', '155', '8623', '4233', '5541', '23', '6561', '157', '3461', 'y', 'F', '3371', 'b', '2191', 'x', '91', 'g', 'T', '8101', '4853', 't', '3081', 'p', 'Q']
Output (English): 4233, 5541, 23, 6561, 157