Task: Program Execution
Input (English): 3, 7, ['8533', 'X', 'Q', '5241', '9725', '7933', '2685', '7959', '4791', '361', '9813']
Output (English): Q, 5241, 9725, 7933, 2685