You bake cookies for a school fundraiser. In the morning, you sell 6 cookies. During lunch, you sell one-half of the cookies you have left. In the afternoon, you sell 19 cookies. If you are left with 6 cookies at the end of the day, how many cookies did you bring to the fundraiser?