Imagine that you had to pit an average Roman legionnaire or any other footsoldier of that era against an average medieval footsoldier/dismounted knight. Who do you think would win, given their technology and technique?

(disclaimer: I do not know much about medieval warfare, so by dismounted knight I'm imagining the stereotypical knight in full body armour and all that goes with it)

I'm guessing the medieval soldier, given the full armour, but who knows..