Task: Program Execution
Input (English): T, main-mast-head., H, sail, N, and, v
Output (English): Tmain-mast-head.HsailNandv