In Harry Potter and the half blood prince who loves with whome?

Harry Potter happens to be in love with Ron's little sister Ginny. But Ginny is dating Dean but ditched him and loves Harry. Hermonie is in love with Ron but Ron's girlfriend named Lavender. He ends up not really liking her and breaks up with her. Ron likes Hermonie but doesn't say anything!