Task: Program Execution
Input (English): 8, 12, ['J', '2877', '8949', 'k', 'V', '849', '9421', '8341', 'M', '3179', 'I', '2557', 'H', 'g', 'I', '4709', '2163', '2513', 'M', '711', '729', 'z', 'l', 'v']
Output (English): 8341, M, 3179, I, 2557