The sum of two nonnegative numbers is 20

The sum of two nonnegative numbers is 20. Find the numbers if the sum of their squares is as large as possible; as small as possible.