Kelly held her breath for 3 minutes, or 3*60=<<3*60=180>>180 seconds.

Brittany held her breath for 20 seconds less time than Kelly did, or 180-20=<<180-20=160>>160 seconds

And Buffy held her breath for 40 seconds less time than Brittany did, or for 160-40=<<160-40=120>>120 seconds.

# Answer

120
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Kelly, Brittany, and Buffy went swimming at Salt Rock Lake and held a contest to see who could hold their breath underwater for the longest amount of time.  Kelly held her breath underwater for 3 minutes.  Brittany held her breath underwater for 20 seconds less time than than Kelly did, and Buffy held her breath underwater for 40 seconds less time than Brittany did.  How long, in seconds, did Buffy hold her breath underwater?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
120
Kelly, Brittany, and Buffy went swimming at Salt Rock Lake and held a contest to see who could hold their breath underwater for the longest amount of time.  Kelly held her breath underwater for 3 minutes.  Brittany held her breath underwater for 20 seconds less time than than Kelly did, and Buffy held her breath underwater for 40 seconds less time than Brittany did.  How long, in seconds, did Buffy hold her breath underwater?
train