Aight lets do it another way

1-Pick a # in your head
2-Pretend your friend gives you the same # add them together
3-I will give you 20 add that to your grand total
4-Now Take half of
5-Give your friend back the # he gave you..

Once you complete all those step lets me know

and I will guess what you got left