Who would win in a fight? Pirates or ninjas?

While this topic has been hotly debated over the years with people siding with one group or the other based on admiration or perceived skill advantages, it's actually pirates that would win in a fight due to their innate resourcefulness and guns.