Given the task definition and input, reply with output. You are given a sentence and a question. You're expected to write the correct answer based on the sentence.

Sentence: John and Jim are going to work.  John picks up Jim on the way. Question: Who traveled a shorter distance?

Jim