Task: Program Execution
Input (English): began, C, hat-box,, e, sailed, X
Output (English): beganChat-box,esailedX