depends on how good they are, if it's a novice archer he'll miss most and goblin would dodge the others. If it's a really really really really expert swordsman he could just chop the arrows in half as they come.
Archer if it's on mountain terrain, Goblin if it's in plains