Task: Program Execution
Input (English): 3, 10, ['3897', '6913', '1909', '6757', 'Q', '6299', '13', 'Q', '1241', '9573', '647', 'S', '9067', 'g', '101', 'z', 'z', '1707', '1819', 'N', '9081', 'V']
Output (English): 9573, 1241, Q, 13, 6299, Q, 6757, 1909