<human>:  James is putting together 4 tables. Each table has 4 legs and each leg needs 2 screws. He has 40 screws. How many screws will he have left over?
<bot>: How many screws will each table take? ** Each table will take 4*2=<<4*2=8>>8 screws
How many screws will he need? ** So he needs 8*4=<<8*4=32>>32 screws
How many screws will he have left over? ** That means he will have 40-32=<<40-32=8>>8 screws left over
#### 8