Ashley picked 14 red apples and 8 green apples. She gave half of the apples to Sam. How many apples did Sam get?

she had 22 apples in all.

What is 1/2 of 22?