Associative Operations on Groups. I