Task: Program Execution
Input (English): 7, 10, ['S', '3783', 'g', '3751', '5547', '717', 'U', '6863', '2155', '8539', '6721', '631', 'U', '4783', 'q']
Output (English): 8539, 2155, 6863, U