Task: Program Execution
Input (English): devil,, R, Sperm-Whale, o
Output (English): devil,RSperm-Whaleo