Task: Program Execution
Input (English): 8, ['H', 'l', 's', 'n', 'd', '3087', 'r', 'r', '5601', 'R', 'i', '4751', '7933', 'B', 'c', 'W', 'K', '143', '5147']
Output (English): 5601, R, i, 4751, 7933, B, c, W, K, 143, 5147