Task: Program Execution
Input (English): 3, ['g', 'l', 'c', 'A', '783', '9005', 'S', 'X', 'B', 'C', '3595']
Output (English): g, l, c