Task: Program Execution
Input (English): 3, 6, ['W', 'g', '4189', '9299', '975', '8227', 'A', 'R', 'I', '6759', 'U', '8775']
Output (English): 4189, 9299, 975, 8227