 
 <prompt> Sean get 4 dollars pass half of Fritz money. Rick get 3 times Sean money. If Fritz get 40 dollars, how much Rick and Sean get? <response>: ```Sean get 40/2+4 = 24 dollars.
Rick get 24*3 = 72 dollars.
Sean and Rick get 24+72 = 96 dollars together.

The final answer: 96.``` 