The sum of mangoes, pears and pawpaws is 18+10+12 = <<18+10+12=40>>40

The total number of fruits is 58 so the last two baskets contain 58-40 = <<58-40=18>>18 fruits

Each of the last two baskets contains an equal amount of fruits which is 18/2 = <<18/2=9>>9 fruits

# Answer

9
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Tania has five baskets containing a total of 58 fruits. There are 18 mangoes in one basket, 10 pears in another, 12 pawpaws in another and the last 2 contain the same number of kiwi and lemon respectively, how many lemons are there?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
9
Tania has five baskets containing a total of 58 fruits. There are 18 mangoes in one basket, 10 pears in another, 12 pawpaws in another and the last 2 contain the same number of kiwi and lemon respectively, how many lemons are there?
train