Task: Program Execution
Input (English): n, the, Z, M, months, X, O
Output (English): ntheZMmonthsXO