Task: Program Execution
Input (English): 3, 5, ['935', '337', '1581', 'W', '4001', '9701', '3337', 'A', '6225', '6393', 'q', '5377', 'G', 'P', '1555']
Output (English): 1581, W, 4001