Question: is it whoever or whomever?
Answer: Choosing whoever or whomever can be easy. Whomever is an object pronoun and works like the pronouns him, her, and them (Give the document to whomever in the department). Whoever is a subject pronoun and works like the pronouns he, she, and they (Whoever wrote this poem should win a prize).