Gender in humans is determined by the sperm from the father of an individual.
After meiosis, all gametes are haploid and contain 1 sex chromosome.
Female eggs always contain the X as its sex chromosome.
Half of a male's sperms carry a X, half carry a Y chromosome.