Task: Program Execution
Input (English): z, American,, J, Well,, G, mortal, B
Output (English): zAmerican,JWell,GmortalB