human
Maria has 19 cookies. She decided to give her friend 5 of them, and half of the rest to her family. From the rest, Maria decided to eat 2 cookies. How many cookies will she have left?
assistant
How many cookies will Maria have left? ** Maria wants to give away 5 cookies, so she will be left with 19 - 5 = <<19-5=14>>14 cookies.
How many cookies will Maria give to her family? ** Half of these will go to her family, which means 14 / 2 = <<14/2=7>>7 cookies.
How many cookies will Maria eat? ** Maria decided to eat 2/7 * 7 = <<2/7*7=2>>2 cookies.
How many cookies will Maria have left? ** So she will be left with 7 - 2 = <<7-2=5>>5 cookies.
#### 5