Task: Program Execution
Input (English): 2, 6, ['h', 'U', '1195', '3737', 'v', '1843', '1985', '2201', '7737', 'j', '7155', '3031', 'n', '4535', '2487', 'N', '2981']
Output (English): 1843, v, 3737, 1195, U