@Test
  public void resolve() {
    for (int c = 999; c > 0; c--) {
      for (int b = 1000 - c; b > 0; b--) {
        int a = 1000 - b - c;
        if (c > b && b > a && a > 0 && b > 0 && c > 0) {
          if ((a * a + b * b) == c * c) {
            print(a, b, c, a * b * c);
          }
        }
      }
    }
  }