import java.util.*;
class triangle {
public static void main
(String[] args
) { Scanner in
= new Scanner
(System.
in); double a = in.nextDouble();
double b = in.nextDouble();
double c = in.nextDouble();
double p = (a + b + c) / 2;
double S
= Math.
sqrt(p
* (p
- a
) * (p
- b
) * (p
- c
)); //формула Герона double r = S / p;
double R = a * b * c / (4 * S);
System.
out.
println("Радиус вписанной окружности равен " + r
); System.
out.
println("Радиус вписанной окружности равен " + R
); }
}
aW1wb3J0IGphdmEudXRpbC4qOwoKY2xhc3MgdHJpYW5nbGUgewoKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKICAgICAgICBTY2FubmVyIGluID0gbmV3IFNjYW5uZXIoU3lzdGVtLmluKTsKICAgICAgICBkb3VibGUgYSA9IGluLm5leHREb3VibGUoKTsKICAgICAgICBkb3VibGUgYiA9IGluLm5leHREb3VibGUoKTsKICAgICAgICBkb3VibGUgYyA9IGluLm5leHREb3VibGUoKTsKICAgICAgICAgICAgZG91YmxlIHAgPSAoYSArIGIgKyBjKSAvIDI7CiAgICAgICAgICAgIGRvdWJsZSBTID0gTWF0aC5zcXJ0KHAgKiAocCAtIGEpICogKHAgLSBiKSAqIChwIC0gYykpOyAvL9GE0L7RgNC80YPQu9CwINCT0LXRgNC+0L3QsAogICAgICAgICAgICBkb3VibGUgciA9IFMgLyBwOwogICAgICAgICAgICBkb3VibGUgUiA9IGEgKiBiICogYyAvICg0ICogUyk7CiAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigi0KDQsNC00LjRg9GBINCy0L/QuNGB0LDQvdC90L7QuSDQvtC60YDRg9C20L3QvtGB0YLQuCDRgNCw0LLQtdC9ICIgKyByKTsKICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCLQoNCw0LTQuNGD0YEg0LLQv9C40YHQsNC90L3QvtC5INC+0LrRgNGD0LbQvdC+0YHRgtC4INGA0LDQstC10L0gIiArIFIpOwogICAgfQp9