#include <iostream>
#include <cmath>
using namespace std;
double getL(double c, double a, double b) { //Возвращает длину биссектрисы к стороне A при сторонах A, B, C
double s = a + b;
return sqrt(a * b * (s + c) * (s - c))/s;
}
int main() {
double a, b, c;
cin >> a >> b >> c;
cout << "Длины биссектрис к сторонам A, B и C равны " << getL(a, b, c) << ", " << getL(b, a, c) << " и " << getL(c, a, b) << ".";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiAKZG91YmxlIGdldEwoZG91YmxlIGMsIGRvdWJsZSBhLCBkb3VibGUgYikgeyAgICAvL9CS0L7Qt9Cy0YDQsNGJ0LDQtdGCINC00LvQuNC90YMg0LHQuNGB0YHQtdC60YLRgNC40YHRiyDQuiDRgdGC0L7RgNC+0L3QtSBBINC/0YDQuCDRgdGC0L7RgNC+0L3QsNGFIEEsIEIsIEMKICAgIGRvdWJsZSBzID0gYSArIGI7CiAgICByZXR1cm4gc3FydChhICogYiAqIChzICsgYykgKiAocyAtIGMpKS9zOwp9CiAKaW50IG1haW4oKSB7CiAgICBkb3VibGUgYSwgYiwgYzsKICAgIGNpbiA+PiBhID4+IGIgPj4gYzsKICAgIGNvdXQgPDwgItCU0LvQuNC90Ysg0LHQuNGB0YHQtdC60YLRgNC40YEg0Log0YHRgtC+0YDQvtC90LDQvCBBLCBCINC4IEMg0YDQsNCy0L3RiyAiIDw8IGdldEwoYSwgYiwgYykgPDwgIiwgIiA8PCBnZXRMKGIsIGEsIGMpIDw8ICIg0LggIiA8PCBnZXRMKGMsIGEsIGIpIDw8ICIuIjsKICAgIHJldHVybiAwOwp9