prompt: When three friends sold their video games, Ryan, the first of the three friends, received $50 more than Jason from his sales. Jason received 30% more money than Zachary from selling his video games. If Zachary sold 40 games at $5 each, calculate the total amount of money the three friends received together from the sale of the video games.
messages.content: When three friends sold their video games, Ryan, the first of the three friends, received $50 more than Jason from his sales. Jason received 30% more money than Zachary from selling his video games. If Zachary sold 40 games at $5 each, calculate the total amount of money the three friends received together from the sale of the video games.
messages.role: user
messages.content: The total amount of money that Zachary received from selling his video games is $40*5 = $<<40*5=200>>200
  Jason received 30/100*$200 = $<<30/100*200=60>>60 more than the amount Zachary received after selling his games.
  The total amount of money that Jason received is $60+$200 = $<<60+200=260>>260
  Together, Zachary and Jason received $260+$200 = $<<260+200=460>>460 from the sale of their video games.
  Ryan received $260+$50=$<<260+50=310>>310 from the sale of his video games.
  The three friends made a total of $310+$460 = $<<310+460=770>>770 from the sale of the video games.
  #### 770
messages.role: assistant