Task: Program Execution
Input (English): 3, 7, ['7927', '6347', '4227', 'O', 'c', 'f', '9747', 'b', 'l', '1967', '9465', '3649', 'N', '4637', 'S']
Output (English): 4227, O, c, f, 9747