Task: Program Execution
Input (English): 2, 5, ['L', 'q', 'N', 'D', 'O', '9223', 'u', '4037', 'K', '4687', 'c', '7277', 'o']
Output (English): O, D, N, q