#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
double a,b,c,temp;
cin >> a >> b >> c;
if(a < b+c && b < c+a && c < a+b){
cout << "Valid\n";
double s = (a+b+c)/2.0;
cout << fixed << sqrt(s*(s-a)*(s-b)*(s-c));
}else{
cout << "Invalid";
}
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CiNkZWZpbmUgbGwgbG9uZyBsb25nCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCWRvdWJsZSBhLGIsYyx0ZW1wOwoJY2luID4+IGEgPj4gYiA+PiBjOwoJaWYoYSA8IGIrYyAmJiBiIDwgYythICYmIGMgPCBhK2IpewoJCWNvdXQgPDwgIlZhbGlkXG4iOwoJCWRvdWJsZSBzID0gKGErYitjKS8yLjA7CgkJY291dCA8PCBmaXhlZCA8PCBzcXJ0KHMqKHMtYSkqKHMtYikqKHMtYykpOwoJfWVsc2V7CgkJY291dCA8PCAiSW52YWxpZCI7Cgl9CglyZXR1cm4gMDsKfQ==