Task: Program Execution
Input (English): 5, ['Q', 'p', 'f', 'w', 'P', '6003', 'G', '4517', '9791', 'i', 'T']
Output (English): Q, p, f, w, P, 6003