Klaus was replacing the roof on his house. He used 420 nails to attach all the pieces of wood. Each piece of wood needed 7 nails to hold it in place. He used 40 piece es of wood. How many pieces were left?