Well I was going to suggest the dried beans and rice but you already nailed that.
I'd say if you can find an something affordable, stock up on multivitamins, too.
Eating a healthy diet doesnt require them, but if you're down to only rice and beans, yeah you're good for protein and carbs, but...