Task: Program Execution
Input (English): 2, 7, ['3905', 'h', 'e', '6821', 'p', '5151', '8535', 'Q', 'f', 'k', '659', '9919', 'g', 'U']
Output (English): h, f