A human has 23 pairs of chromosomes, so 46 altogether. This means that if people were to have a child, they would each pass on half of their own chromosomes, 23, to the child, which would mean that the child inherits 23 chromosomes from each parent.
The sex chromosomes for males are X and Y.
I hope this helps!