#include <iostream>
using namespace std;
int main () {
double x1, x2, x3;
scanf ( " %lf %lf %lf ", &x1, &x2, &x3 ); // чтение из стандартного потока ввода.
double b = -( x1 + x2 + x3 ); // вычисление коэф. b, c, d кубического уравнения.
double c = x1*x2 + x2*x3 + x3*x1;
double d = -( x1 * x2 * x3 );
printf ("b = %2.2lf, c = %2.2lf, d = %2.2lf.", b, c, d); //вывод результата.
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4gKCkgewoJZG91YmxlIHgxLCB4MiwgeDM7CglzY2FuZiAoICIgJWxmICVsZiAlbGYgIiwgJngxLCAmeDIsICZ4MyApOyAvLyDRh9GC0LXQvdC40LUg0LjQtyDRgdGC0LDQvdC00LDRgNGC0L3QvtCz0L4g0L/QvtGC0L7QutCwINCy0LLQvtC00LAuCglkb3VibGUgYiA9IC0oIHgxICsgeDIgKyB4MyApOyAvLyDQstGL0YfQuNGB0LvQtdC90LjQtSDQutC+0Y3RhC4gYiwgYywgZCDQutGD0LHQuNGH0LXRgdC60L7Qs9C+INGD0YDQsNCy0L3QtdC90LjRjy4KCWRvdWJsZSBjID0geDEqeDIgKyB4Mip4MyArIHgzKngxOwoJZG91YmxlIGQgPSAtKCB4MSAqIHgyICogeDMgKTsKCXByaW50ZiAoImIgPSAlMi4ybGYsIGMgPSAlMi4ybGYsIGQgPSAlMi4ybGYuIiwgYiwgYywgZCk7IC8v0LLRi9Cy0L7QtCDRgNC10LfRg9C70YzRgtCw0YLQsC4KCXJldHVybiAwOwp9Cg==