#include <stdio.h>
#include <math.h>
int main()
{
double x,y,z,a,b,m,min;
scanf("%lf %lf %lf",&x
,&y
,&z
); a=x+y+z/2;//Вычисляем первую часть
b=x*y*z;//Вычисляем вторую часть
if(a>b)
{
min=b;//Находим минимум
}
else
{
min=a;
}
m=(min*min)+1;
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CmludCBtYWluKCkgCnsKCWRvdWJsZSB4LHkseixhLGIsbSxtaW47CglzY2FuZigiJWxmICVsZiAlbGYiLCZ4LCZ5LCZ6KTsKCWE9eCt5K3ovMjsvL9CS0YvRh9C40YHQu9GP0LXQvCDQv9C10YDQstGD0Y4g0YfQsNGB0YLRjAoJYj14KnkqejsvL9CS0YvRh9C40YHQu9GP0LXQvCDQstGC0L7RgNGD0Y4g0YfQsNGB0YLRjAoJaWYoYT5iKQoJCXsKCQkgbWluPWI7Ly/QndCw0YXQvtC00LjQvCDQvNC40L3QuNC80YPQvAoJCX0KCWVsc2UKCQl7CgkgCSBtaW49YTsKCQl9CgltPShtaW4qbWluKSsxOwoJcHJpbnRmKCIlMC41bGYiLG0pOwoJcmV0dXJuIDA7Cn0=