Which describes how the pronoun is used in the sentence?

Grandmother has given the African masks to Brendan and me.

Asubject
Bdirect object
Cpredicate nominative
Dobject of a preposition