import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
{
Scanner in
= new Scanner
(System.
in); double a, b, c, a1, b1, c1;
System.
out.
println("Введите длины строн a, b, c (a, b, c не могут быть меньше либо равными нулю): "); a = in.nextDouble();
b = in.nextDouble();
c = in.nextDouble();
a1
=0.5*Math.
sqrt(2*b
*b
+2*c
*c
-a
*a
); b1
=0.5*Math.
sqrt(2*a
*a
+2*c
*c
-b
*b
); c1
=0.5*Math.
sqrt(2*a
*a
+2*b
*b
-c
*c
); }
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJU2Nhbm5lciAgaW4gPSBuZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOwoJCWRvdWJsZSBhLCBiLCBjLCBhMSwgYjEsIGMxOwoJCVN5c3RlbS5vdXQucHJpbnRsbigi0JLQstC10LTQuNGC0LUg0LTQu9C40L3RiyDRgdGC0YDQvtC9IGEsIGIsIGMgKGEsIGIsIGMg0L3QtSDQvNC+0LPRg9GCINCx0YvRgtGMINC80LXQvdGM0YjQtSDQu9C40LHQviDRgNCw0LLQvdGL0LzQuCDQvdGD0LvRjik6ICIpOwoJCWEgPSBpbi5uZXh0RG91YmxlKCk7CgkJYiA9IGluLm5leHREb3VibGUoKTsKCQljID0gaW4ubmV4dERvdWJsZSgpOwoJCWExPTAuNSpNYXRoLnNxcnQoMipiKmIrMipjKmMtYSphKTsKCQliMT0wLjUqTWF0aC5zcXJ0KDIqYSphKzIqYypjLWIqYik7CgkJYzE9MC41Kk1hdGguc3FydCgyKmEqYSsyKmIqYi1jKmMpOwoJCVN5c3RlbS5vdXQucHJpbnRmKExvY2FsZS5VUywgImExPSUuN2ZcbiIsYTEpOwoJCV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