prompt: Gwen received a $900 bonus at work and decided to invest this money in the stock market.  She spent one-third of her bonus on stock A, one-third on stock B, and the remaining one-third on stock C.   After one year, stock A and stock B had doubled in value, while stock C had lost half of its value.  At the end of the year, how much were Gwen's stocks worth, in dollars?
messages.content: Gwen received a $900 bonus at work and decided to invest this money in the stock market.  She spent one-third of her bonus on stock A, one-third on stock B, and the remaining one-third on stock C.   After one year, stock A and stock B had doubled in value, while stock C had lost half of its value.  At the end of the year, how much were Gwen's stocks worth, in dollars?
messages.role: user
messages.content: One-third of her bonus was $900/3 = $<<900/3=300>>300.
  After one year, stock A doubled in value and was worth $300*2 = $<<300*2=600>>600.
  After one year, stock B doubled in value and was worth $300*2 = $<<300*2=600>>600.
  After one year, stock C had lost half its value and was worth $300/2 = $<<300/2=150>>150.
  Altogether, at the end of the year, Gwen's stocks were worth $600+$600+$150 = $<<600+600+150=1350>>1350
  #### 1350
messages.role: assistant