Task: Program Execution
Input (English): 3, 6, ['G', '3169', '2641', '2099', 'z', 'L']
Output (English): 2641, 2099, z, L