in what century were cannons first used on ships?

there was 13th century, but phoneum only recognize word on answer so its not 13 or 13th, but the right answer was: thirteenth