Task: Program Execution
Input (English): 3, 6, ['9945', '2191', '9635', 'D', 't', 'Y', '1989']
Output (English): 9635, D, t, Y