@@ -0,0 +1,875 @@
+import math%0A%0Adef is_square(n):%0A    sqrt_n = int(math.sqrt(n))%0A    return n == sqrt_n * sqrt_n%0A%0Aif __name__ == %22__main__%22:%0A    result = 0%0A    i = 3%0A    while result == 0:%0A        i += 1%0A        a = i * i%0A        for j in range(3, i):%0A            if result != 0:%0A                break%0A            c = j * j%0A            f = a - c%0A            if not is_square(f):%0A                continue%0A            if j %25 2 == 1:%0A                kstart = 1%0A            else:%0A                kstart = 2%0A%0A            for k in range(kstart, j, 2):%0A                d = k * k%0A                e = a - d%0A                b = c - e%0A%0A                if b %3C= 0 or not is_square(e) or not is_square(b):%0A                    continue%0A%0A                x = (a + b) / 2%0A                y = (e + f) / 2%0A                z = (c - d) / 2%0A%0A                result = x + y + z%0A                break%0A%0A    print result%0A

add 142