Task: Program Execution
Input (English): 2, ['T', '6187', 'K', 'x', '6769', 'X']
Output (English): T, K, 6769