Jordan gave Danielle two dozen roses and a box of chocolates as a birthday day gift.  Later that day, after Jordan left, Danielle traded the box of chocolates for another dozen roses.  Overnight, half of the roses wilted, and  Danielle decided to throw the wilted flowers away.  On the second day, another half of the remaining flowers wilted, and she threw the wilted ones away.  How many unwilted flowers remained? Let's think step by step and output the final answer after "####".
user
Danielle started with two dozen roses, or a total of 2*12=<<2*12=24>>24 roses.
Her trade added another dozen roses, for a total of 12+24=<<12+24=36>>36 roses.
The first night, half of the roses wilted, leaving 36/2=<<36/2=18>>18 roses.
On the second night, again half of the remaining roses wilted, leaving 18/2=<<18/2=9>>9 unwilted roses.
#### 9
Jordan gave Danielle two dozen roses and a box of chocolates as a birthday day gift.  Later that day, after Jordan left, Danielle traded the box of chocolates for another dozen roses.  Overnight, half of the roses wilted, and  Danielle decided to throw the wilted flowers away.  On the second day, another half of the remaining flowers wilted, and she threw the wilted ones away.  How many unwilted flowers remained?
train