Task: Program Execution
Input (English): sqAshmCxL, SoCshmXA
Output (English): shm