We are given the weight of two people, one on the moon and the other on earth. To determine the mass we will use the following formula:

Where:

Now, we solve for the mass "m" by dividing both sides by "g":

Now, for the case of the moon we have that the acceleration of gravity is:

Plugging in the values:

Solving the operations:

Now, for the case of the earth we have:

Plugging in the values:

Solving the operations:

Therefore, the greater mass is the mass of Bob.