Task: Program Execution
Input (English): 5, ['3689', '1043', 'p', 'n', '5575', '3959', '8331', 'u', '8841', 'S']
Output (English): 3689, 1043, p, n, 5575