Answer
5000
Work Step by Step
Assume the first number is $x$, the second number is then $100-x$ and
the sum of their squares can be represented as
$y=x^2+(100-x)^2=2x^2-200x+10000$
The minimum of the above function happens when $x=200/4=50$
which gives $y=5000$