A food pantry needs 1,021 cans of tomatoes. A local school collected donations and gave the food pantry 689 cans of tomatoes. The food pantry will

still need 1,021 - 689 = <<132 solutions|332>>332 cans of tomatoes. Answer: \boxed{332}.