Task: Program Execution
Input (English): and, K, G, pirates,, y, widow, v, K, y, l, to, X
Output (English): andKGpirates,ywidowvKyltoX