Exhaust bolts

Cut the exhaust close to manifold and you should be able to take it out . Is the motor still good ?