In which sentence does the word whom need to be replaced with the word who?

Next to whom are you sitting?
Eduardo is the runner whom came in first.
Alicia is the person whom they sent to California.
This is the pilot with whom we are flying.