Considering the fact that atomic bombs helped end the war sooner than expected, did the bombings of Hiroshima and Nagasaki save more lives than they destroyed (since a land-based invasion was prevented)?

Considering the fact that atomic bombs helped end the war sooner than expected, did the bombings of Hiroshima and Nagasaki save more lives than they destroyed (since a land-based invasion was prevented)?