Task: Program Execution
Input (English): with, n, H, K, G, contrary,, t, I, and, B, C, D
Output (English): withnHKGcontrary,tIandBCD