Hermione is the smart one.She belives that learning spells is one of the biggest parts in being a witch o a wizard.She knows when tu must and when tu musn't break the rules.
Harry is very brave.Most of the times he has luck but I still think that he would never become what he is now if he didn't have his friends.
So I think that tu can't break the trio Harry,Hermione and Ron are best when they are together.
I think Harry has más natural talent, especially when it comes to dueling. But Hermione is clearly smarter than Harry and has enough knowledge about the magical world and just plain common sense to equal Harry's abilities. I think that both Harry and Hermione are incredibly good at magic and neither one is better than the other. They (along with Ron, of course) are both essential to the trio. Harry's skill is no good without Hermione's intellect and vice versa.