Task: Program Execution
Input (English): 3, 8, ['W', '6637', 'R', '9765', '1961', 'a', 'q', 'A']
Output (English): R, 9765, 1961, a, q, A