solve hamm