On the third day, Jen had half of the second day’s cookies left, so on the second day, she had 8 * 2 = <<8*2=16>>16 cookies.
On the second day, she had 1/4 of the first day’s cookies left, so she started with 16 * 4 = <<16*4=64>>64 cookies in the bag.
#### 64