Task: Program Execution
Input (English): b, m, a, to, Q, J
Output (English): bmatoQJ