One person is describing something to other three people, and the other 3 are trying to guess what it is. But, in one case, after the description, all three showed their answers written on paper, but no answer was right. However one of them was quite close to the answer.
So, here is the conversation between these people after the description:
A: Who got it right?
B: John came the closest.
But, in another part of the conversation, I also heard "John got the nearest.", which was used for the same circumstance. So, both sentences seemed the same to me in meaning, but I can't make sure if they are both idiomatic.
So, I wondered do both sentences sound idiomatic?