Jordan gave Danielle two dozen roses and a box of chocolates as a birthday 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 after the second day? Let's think step by step and output the final answer within \boxed{}.
user