Task: Program Execution
Input (English): 3, 9, ['8559', '6795', '7115', '2199', '4141', 'E', '327', '4817', 'Q', '3703', '8117', 'J', '9185', '1035', '4123']
Output (English): Q, 4817, 327, E, 4141, 2199, 7115