Task: Program Execution
Input (English): Head,, t, with, d, D, n, m, H, the, r
Output (English): Head,twithdDnmHther