Identify the word in italics.

I imagine she will go with whomever she fancies.

demonstrative pronoun
indefinite pronoun
interrogative pronoun
relative pronoun
not a pronoun