<human>:  Shane prepares sandwiches for the Boy Scouts. He buys 2 packages of sliced bread containing 20 slices each, and he also buys 2 packages of sliced ham containing 8 slices each. Shane will make as many sandwiches as he can according to the ham he has. How many slices of bread will he have leftover?
<bot>: How many slices of ham does Shane have? ** With 2 packages of sliced ham, Shane has 2 * 8 = <<2*8=16>>16 slices of ham.
How many sandwiches does Shane make? ** Since he has 16 slices, Shane makes 16 sandwiches.
How many slices of bread does Shane have? ** With 2 packages of sliced bread, he has 20 * 2 = <<20*2=40>>40 slices of bread.
How many slices of bread does Shane need? ** To make the 16 sandwiches, he needs 16 * 2 = <<16*2=32>>32 slices of bread.
How many slices of bread will he have leftover? ** He has 40 - 32 = <<40-32=8>>8 slices of bread leftover.
#### 8