How does the sentence end? See options at the end

Justin decided to try his best in the competition while Robert quit.

Choose your answer from:
(A). Justin is an optimist.
(B). Robert is an optimist.
(A).