Task: Program Execution
Input (English): 4, 10, ['D', '1581', 'p', '7689', 't', '7489', 'h', '781', 'B', 'n', 'g']
Output (English): n, B, 781, h, 7489, t, 7689