Task: Program Execution
Input (English): 5, 10, ['3845', 'g', 'q', 'o', 'X', '7291', 'y', '7373', 'g', 'f', 'V', 'Q', 'z', 'H', 'J', 'Q', 'i']
Output (English): f, g, 7373, y, 7291, X