Fill in the blank to complete the sentence with the appropriate word.

Frederick Cook and Robert Peary both claimed to have discovered the North Pole, but _______ really got there first?

a) whoever
b) whom
c) whomever
d) who