Task: Program Execution
Input (English): 7, ['7939', 'v', '8187', 'F', '3235', 'S', 'M', '6123', 'H', '8971', '2165', 'i', 'Q', 'd', 'G', '3397', 'n', '1793', '3895', '403', 'J', 'f', 'x', '1343', 'H', 'S', '161']
Output (English): 7939, 6123, G, f