On Friday Maria bought 6 hats. On Saturday she gave away half of all her hats. On Sunday she had 7 hat left.
How many did she have on Friday?