Gardening is not the solution to getting most of your calories, but it is an excellent solution to getting a diverse healthy diet.
I was amazed that there are still 30 pound bags of rice in the local grocery stores. I assumed everyone would grab one. Rice is a very storable, great source of calories. Canned soups can be used to add some flavor. Grow some vegetables to make sure you get all your vitamins.
Eating lots of rice with beans and used with meats to stretch things. I do buy 30 pounds at a time.