Broken exhaust manifold bolts

I have a 5.9 mag that’s not in a vehicle. Any tips on how to remove these 2 exhaust manifold bolts that are broken? Motor was clean only 50,000 miles. So they were not all rusted up etc.... don’t know why they broke. Was like this when I got it. The one is broke off almost flush and the other one is broke off up in the threads pretty far. Thanks

A8C5137F-4A85-4321-8947-A8D2436FB4BC.jpeg

7D7DA003-2E12-4926-B499-EF6866C9EC4A.jpeg