### Problem 71d. Pythagorean triples.

Part I. Let a, b, c be unequal positive integers such that
0 < a < b < c, and a^2 + b^2 = c^2. That is, a, b, c
are Pythagorean triples. Find all such Pythagorean triples
with c <= N. If a triple is a multiple of another, report only
the smallest valued triple.

**Input**. The value of N.

**Output**. A listing of all Pythagoren triples arranged
in increasing values of a, then b, then c, with none of the
triples being a multiple of another.

Part II. Find all such Pythagorean triples with a <= N, reporting
only the smallest of multiple triples.

**Input**. The value of N.

**Output**. A listing of all Pythagoren triples arranged
in increasing values of a, then b, then c, with none of the
triples being a multiple of another.