Who was the greatest: Jesus, Solomon, or John the Baptist?

Jesus Christ is obviously the greatest because He is God, and so He is an exception.  Besides Jesus, John the Baptist was the greatest overall, and Solomon was the wisest.