A box of pasta weighs exactly one kilogram. Each small packet of pasta inside the box is 50 grams. How many packets of pasta are in 2 boxes.