Existence of an identity element in a group

Suppose G is a nonempty finite set that has an associative pairing GΓ—Gβ†’G, written (x,y)↦xβ‹…y. Suppose this pairing satisfies left and right cancellation: xβ‹…y=xβ‹…yβ€² implies y=yβ€², and xβ‹…y=xβ€²β‹…y implies x=xβ€². Prove there exists an element e of G such that for all x∈G, eβ‹…x=xβ‹…e=x. Justify your reasoning as carefully as possible.