Task: Program Execution
Input (English): 2, ['4745', '9823', '9781', 'S', '5289', '2579', 'Q', 'y', 'y', 'W', 'H', '4217']
Output (English): 4745, 9823