The correct response is: allowing organic matter to decompose.
Decomposing organic matter is a natural process that releases nitrogen and other nutrients into the soil, making them available for plant uptake. Planting fewer beans and more trees does not directly increase usable forms of nitrogen in the soil, and while lightning does fix atmospheric nitrogen, it is not an intentional agricultural practice.