whoever

(adverb)

adverb

1. An emphatic form of who.

pronoun

1. Whatever person or persons.

- Whoever thought up that stupid idea?