Task: Program Execution
Input (English): 6, ['M', 'K', 'D', 'J', 'q', 'R', '8495', '8465', 'g', 'D', 'm', '4471', '8651', 'v', 'O', '7739', '2907', '5895', '3753', 'W']
Output (English): M, K, D, J, q, R