Who would win in a battle a samurai or a ninja?

based on movies ninjas are deadly and silently can break into a house. They are built for speed, They can use all parts of their body as a weapon. But their most deadliest weapon is the ninjato (sword).

Whilst the samurai has a variety of different weapons for different uses such as the wakizashi (sword) for short ranges and the bow and arrow for long ranges. Their armour

is so powerful that even a arrow cant get threw it!

therefore for this information i am sticking with the samurai because it is capable of all sorts of combats with armour whilst the ninja has no armour and is only a specialist at only close combat.