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.

# Answer

5
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
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