Task: Program Execution
Input (English): 2, ['m', 'f', 'M', '4167', '8991', 'P', '9381', 'm', 'P', 'W']
Output (English): m, f, M, 4167, 8991, P, 9381, m