Mr. Shaefer harvested 500 lychees in a carton and took them to the market. He sold half of them and took home the remaining number of lychees where they ate 3/5 of them. Calculate the number of lychees remaining.
At the market, Mr. Shaefer sold half of the lychees, which is 1/2*500 = 250.
The remaining number of lychees is 500-250 = 
<gadget id="calculator">500-250</gadget>
<output>250</output>
250.
At home, they ate 3/5*250 = 
<gadget id="calculator">3/5*250</gadget>
<output>150</output>
150 lychees.
The total number of lychees remaining is 250-150 = 
<gadget id="calculator">250-150</gadget>
<output>100</output>
100.

<result>100</result>