Task: Program Execution
Input (English): 5, 10, ['5169', 'S', 'O', '4705', '4921', 'z', 'J', '4985', 'g', '6237', 's', 'S', 'F', '8289', '1849', 'K', 'g', 'o', 'E', 'c']
Output (English): 6237, g, 4985, J, z, 4921