Mary had a number of cookies. after eating one, she gave half the remainer to her sister. after eating another cookie, she gave half of what was left to her brother. mary now had only five cookies left. how many cookies did she start with?