Task: Program Execution
Input (English): out, G, beat, T, M
Output (English): outGbeatTM