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? Let's think step by step and output the final answer after "####".
user
Maria wants to give away 5 cookies, so she will be left with 19 - 5 = <<19-5=14>>14 cookies.
Half of these will go to her family, which means 14 / 2 = <<14/2=7>>7 cookies.
Maria decided to eat 2/7 * 7 = <<2/7*7=2>>2 cookies.
So she will be left with 7 - 2 = <<7-2=5>>5 cookies.
#### 5
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?
train