Is intelligence inherited from the mother?

Carnival and inherited but unwanted costumes