Task: Program Execution
Input (English): all, R, Captain, G, but, a
Output (English): allRCaptainGbuta