import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
{
Scanner in
=new Scanner
(System.
in); double x=in.nextDouble();
double y=in.nextDouble();
double z=in.nextDouble();
double a=x+y+z/2;
double b=x*y*z;
double min;
if(a>b)
{
min=b;
}
else
{
min=a;
}
double m=(min*min)+1;
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgoKY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVNjYW5uZXIgaW49bmV3IFNjYW5uZXIoU3lzdGVtLmluKTsJCgkJZG91YmxlIHg9aW4ubmV4dERvdWJsZSgpOwoJCWRvdWJsZSB5PWluLm5leHREb3VibGUoKTsKCQlkb3VibGUgej1pbi5uZXh0RG91YmxlKCk7CgkJZG91YmxlIGE9eCt5K3ovMjsKCQlkb3VibGUgYj14KnkqejsKCQlkb3VibGUgbWluOwoJCWlmKGE+YikKCQl7CgkJCSBtaW49YjsKCQl9CgkJZWxzZQoJCXsKCQkJbWluPWE7CgkJfQoJCWRvdWJsZSBtPShtaW4qbWluKSsxOwoJCVN5c3RlbS5vdXQucHJpbnRsbihtKTsKCQkKCX0KfQ==