Task: Program Execution
Input (English): 7, 10, ['z', '4407', '7121', 'x', 'L', '19', '7413', '5895', '4245', 'Y', '411', 'O', '9241', '5847']
Output (English): Y, 4245, 5895, 7413