<prompt> Translate the following text to SwahiliBy the middle of the 19th century, Cuba produced a third of the worlds sugar and was considered one of the most valuable colonies in the world.  <response>: Kufikia katikati ya karne ya 19, Cuba ilitoa theluthi moja ya sukari ulimwenguni na ilionwa kuwa mojawapo ya koloni zenye thamani zaidi ulimwenguni. 