Problem 142: Perfect Square Collection

FCC link

Find the smallest x + y + z with integers x > y > z > 0 such that x + y, x − y, x + z, x − z, y + z, y − z are all perfect squares.

Test

{{test}}

Console output