Task: Program Execution
Input (English): n, S, Greek, F, of, J, I, for, t, H, M, a, such, J
Output (English): nSGreekFofJIfortHMasuchJ