Task: Program Execution
Input (English): 7, ['T', '8367', '2533', '4141', '5987', 'T', '9225', 'Z', 'V', '3403', 'G', 'i', 'p', '2981']
Output (English): Z, V, 3403, G, i, p, 2981