When did Japan surrender?

Aafter the first atomic bomb was dropped
Bthe day the Soviet Union invaded Manchuria
Cthe day after Germany and Italy surrendered
Da few days after the second atomic bomb was dropped