Learner's definition of WHOEVER
any person at all
A prize will be given to whoever solves the riddle.
Whoever wants to come along is welcome to join us.
He's an honest man, whoever his friends might be.
Whoever did this will be held accountable.
— used in questions that express surprise or confusion