Task: Program Execution
Input (English): f, and, f, J, M
Output (English): fandfJM