Task: Program Execution
Input (English): 3, 4, ['k', 'j', 'Y', '2009', '8943', '1675', 'g', 'J', '729', 'D', '5161', 'o', 'o', 'b', '9631', '2963', '7249', 'X']
Output (English): Y, g, 5161, 9631