Task: Program Execution
Input (English): passionately, h, w, them,, a, their, Z, There, M, h, M, and, H
Output (English): passionatelyhwthem,atheirZThereMhMandH