grandma baked cookies. she gave 7 to sandy. she gave half of what were left, plus one to sue. she gave 3 to stan. then she gave half of what were left to steve. since there were only two cookies left, she ate them herself. how many cookies did she bake?