The clockmaker had the slice with $12$ on it because it was his birthday. One guest wanted $7$ because it was her lucky number. All the slices that went to men added to a number equal to those that went to the women.