Respuesta :

The subject it gave, because that is the action that is being taken.
The subject would be "I" because "I" is the person doing something. So when a person/place or thing is doing something such as giving a hug it will be the subject of the sentence.