Shanna initially planted 6 tomato plants, 2 eggplant plants, and 4 pepper plants, for a total of 6 + 2 + 4 = 12 plants.
Half of her tomato plants died, so she had 6 / 2 = 3 tomato plants left.
One pepper plant also died, so she had 4 - 1 = 3 pepper plants left.
Each remaining plant yielded 7 vegetables, so the tomato plants yielded 3 * 7 = 21 vegetables.
The eggplant plants yielded 2 * 7 = 14 vegetables.
The pepper plants yielded 3 * 7 = 21 vegetables.
In total, Shanna had 21 + 14 + 21 = 56 vegetables to harvest.
#### 56
The answer is: 56
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
If Shanna initially planted 6 tomato plants, 2 eggplant plants, and 4 pepper plants in her summer garden, but half of her tomato plants and one pepper plant died, and each remaining plant yielded 7 vegetables, how many vegetables did she have in total to harvest?

### Answer:
