Sean has 40/2+4 = <<40/2+4=24>>24 dollars.

Rick has 24*3 = <<24*3=72>>72 dollars.

Sean and Rick have 24+72 = <<24+72=96>>96 dollars together.

# Answer

96
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Sean has 4 dollars more than half as much money as Fritz. Rick has 3 times as much money as Sean. If Fritz has 40 dollars, how much money do Rick and Sean have?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
96
Sean has 4 dollars more than half as much money as Fritz. Rick has 3 times as much money as Sean. If Fritz has 40 dollars, how much money do Rick and Sean have?
train