Answer: To solve this problem, we can use the formula:
Total = Stocks + Bonds - Both
where "Total" represents the total number of people who invested in either stocks or bonds.
Plugging in the given values, we get:
Total = 700 + 400 - 300
Total = 800
Therefore, 800 people invested in stocks or bonds.
Explanation: