Good choice...you can live forever on beans and rice. Beans have all the nutrients your body requires except niacin. Rice is rich in niacin.
Vitamin tablets, some fats, rice and beans will keep humans going for a looooooooong time.