Task: Program Execution
Input (English): 3, ['H', 'f', '4789', 'r', 'i', '5787', 'z', 'S', 'M', 'Q', 'r', 's', 'P']
Output (English): r, i, 5787, z, S, M, Q, r, s, P