Task: Program Execution
Input (English): A, is, Y, E, the, r, sailors,, m, d, F, q, laid, a, themselves, n
Output (English): AisYEthersailors,mdFqlaidathemselvesn