Task: Program Execution
Input (English): 3, ['p', 'm', '6331', 'g', '291', '6183', '6423', 'D', '9873', 'o']
Output (English): p, m, 6331