they did not know what to do , for their enemies were each other : ninjas fought pirates and pirates fought ninjas ; moreover , ninjas knew how to fight pirates , and pirates knew how to fight ninjas .