These pre-red supergiant main-sequence stars exhaust the hydrogen in their cores after 5-20 million years.
All red supergiants will exhaust the helium in their cores within one or two million years and then start to burn carbon.