Task: Program Execution
Input (English): 6, 18, ['h', '461', 's', '4645', '7223', 'g', 'p', '8439', '9729', 'K', '4883', '5683', '9081', '9561', 'U', 'X', '6871', '5255', 'C', '2107', '1633', 'V', 's', '5685']
Output (English): g, p, 8439, 9729, K, 4883, 5683, 9081, 9561, U, X, 6871, 5255