import java.util.Optional; import java.util.Scanner; public class Main { private static final double epsilon = 1e-9; public static void main(String[] args) { try (Scanner in = new Scanner(System.in)) { int de = in.nextInt(); int ab = in.nextInt(); // d // e int ac = in.nextInt(); boolean res = false; for (int bd = 1; bd <= 100; bd++) { for (int ec = 1; ec <= 100; ec++) { if (!can_triangle(bd + de + ec, ab, ac)) { continue; } Optional cos_dba = cosine_formula(ac, ab, bd + de + ec); Optional cos_eca = cosine_formula(ab, ac, bd + de + ec); if (cos_dba.isEmpty() || cos_eca.isEmpty()) { continue; } double dba = Math.acos(cos_dba.get().doubleValue()); double eca = Math.acos(cos_eca.get().doubleValue()); Optional adxad = cosine_formula2(ab, bd, dba); Optional aexae = cosine_formula2(ac, ec, eca); if (adxad.isEmpty() || aexae.isEmpty()) { continue; } double ad = Math.sqrt(adxad.get().doubleValue()); double ae = Math.sqrt(aexae.get().doubleValue()); if (!can_triangle(bd, ab, ad)) { // continue; } if (!can_triangle(ec, ac, ae)) { // continue; } Optional cos_bad = cosine_formula(bd, ab, ad); Optional cos_cae = cosine_formula(ec, ac, ae); if (cos_bad.isEmpty() || cos_cae.isEmpty()) { continue; } double bad = Math.acos(cos_bad.get().doubleValue()); double cae = Math.acos(cos_cae.get().doubleValue()); if (Math.abs(bad - cae) < epsilon) { res = true; } } } System.out.println(res ? "Yes" : "No"); } } private static final Optional cosine_formula(double a, double b, double c) { double cos = (b * b + c * c - a * a) / (2.0d * b * c); if (Math.abs(cos) > 1.0d) { return Optional.empty(); } return Optional.of(cos); } private static final Optional cosine_formula2(double b, double c, double cab) { double axa = b * b + c * c - 2.0 * b * c * Math.cos(cab); if (axa < 0d) { return Optional.empty(); } return Optional.of(axa); } private static final boolean can_triangle(double a, double b, double c) { return can_triangle0(a, b, c) || can_triangle0(c, a, b) || can_triangle0(b, c, a); } private static final boolean can_triangle0(double a, double b, double c) { return a > Math.max(b, c) && a < b + c; } }