<prompt> Translate the following text to SwahiliBy the end of the decade, Japans was the third largest economy in the world less then two decades after the war had left the country in ruins.  <response>: Kufikia mwishoni mwa miaka kumi, Japani ilikuwa uchumi wa tatu kwa ukubwa duniani, chini ya miongo miwili baada ya vita kuifanya nchi hiyo kuwa magofu. 