Task: Program Execution
Input (English): 5, ['9815', '9727', 'z', 'B', 'C', '4393', '1115', 'z', 'p', '7107', 'm']
Output (English): 9815, 9727, z, B, C