Task: Program Execution
Input (English): 5, 8, ['Q', '6741', '9555', '4585', 'X', '8631', '6379', 's', 'S']
Output (English): s, 6379, 8631, X