Task: Program Execution
Input (English): 4, ['7345', '5269', '7467', '9033', 'Y', '4877', '4535', 'Q']
Output (English): Y, 4877, 4535, Q