what kind of food we need to eat to rich our basic 4 nuclobases?

I'm pretty sure that we manufacture our own nucleotides, including the nucleobases, mainly out of amino acids. Anyway, all living things contain all four nucleo bases, so you don't have to worry about a special diet.