Task: Program Execution
Input (English): 7, ['Y', 'N', '3519', '5857', 'w', 'q', '8811', 'M', 'L', '93', '3475', 'j', '7319', 'Z', '9951', '5845', '8285', 'Q']
Output (English): Y, M, 9951