Task: Program Execution
Input (English): 6, 8, ['K', 'G', 'J', 'j', 'q', 'U', 'B', '3729', 'j']
Output (English): U, B, 3729