How much food does it take to get it to level 40?

So I’m curious. How much does it take to level a T. rex up to level 40?

Idk, since idk how much is each lvl

From 31-40 I think it’s 6 mil

DNA is 30000 for 8
Food I’m not too sure