Task: Program Execution
Input (English): 3, 5, ['J', '6321', 'Q', 'W', 'J', 'G', 'n', '4345']
Output (English): JWQ