598,587 round to the nearest ten thousand.is this the right answer 599,000

Let's count by ten thousands from 500,000.

510,000
520,000
530,000
540,000
550,000
560,000
570,000
580,000
590,000
600,000

Which of those numbers is closest to 598,587 ?