Task: Program Execution
Input (English): 5, ['O', 'g', 'W', '3913', '1413', '7113', '3145', 'Q', '111', '4643', 'm']
Output (English): O, g, W, 3913, 1413, 7113