There are 35/5 = <<35/5=7>>7 light bulbs to every fifth.

7*3 = <<7*3=21>>21 lightbulbs in the kitchen are broken.

There are 35-21 = <<35-21=14>>14 light bulbs in the kitchen that are not broken.

There are 10*3 = <<10*3=30>>30 light bulbs in the foyer in total.

There are 30-10 = <<30-10=20>>20 light bulbs in the foyer that are not broken.

There are 14+20 = <<14+20=34>>34 light bulbs that are not broken in both the foyer and kitchen.

# Answer

34
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Three fifths of the light bulbs in the kitchen are broken. A third of the light bulbs in the foyer are also broken. If 10 light bulbs in the foyer are broken and there are 35 light bulbs in the kitchen, then how many light bulbs are not broken in both the foyer and kitchen?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
34
Three fifths of the light bulbs in the kitchen are broken. A third of the light bulbs in the foyer are also broken. If 10 light bulbs in the foyer are broken and there are 35 light bulbs in the kitchen, then how many light bulbs are not broken in both the foyer and kitchen?
train