Chloe baked a batch of cookies and decided to share them with her friends. She had a total of 48 cookies. She gave away 2/3 of the cookies to her friends and then decided to keep the rest for herself. If she plans to eat half of the cookies she kept over the weekend, how many cookies will she have left after the weekend?