Task: Program Execution
Input (English): 5, ['k', 'Z', 'N', 'Z', 'M', 'K', 'T', '9047', 'K', 'I', '6179', 'g']
Output (English): k, Z, N, Z, M