Task: Program Execution
Input (English): an, G, hairy, R, B, God, M
Output (English): anGhairyRBGodM