Task: Program Execution
Input (English): o, M, accidents, M
Output (English): oMaccidentsM