#include "stdio.h"
#include "math.h"
int main (){
double a, b;
scanf("Enter a: %lf %lf", &a
, &b
);
double c
= sqrt(a
*a
+ b
*b
);
double p = a + b + c;
double s = a*b/2;
return 0;
}
I2luY2x1ZGUgInN0ZGlvLmgiCiNpbmNsdWRlICJtYXRoLmgiCgppbnQgbWFpbiAoKXsKCWRvdWJsZSBhLCBiOwoJCglzY2FuZigiRW50ZXIgYTogJWxmICVsZiIsICZhLCAmYik7CgkKCWRvdWJsZSBjID0gc3FydChhKmEgKyBiKmIpOwoJCglkb3VibGUgcCA9IGEgKyBiICsgYzsKCWRvdWJsZSBzID0gYSpiLzI7CgkKCXByaW50ZigicCA9ICVsZiIsIHApOwoJcHJpbnRmKCJzID0gJWxmIiwgcyk7CgkKCXJldHVybiAwOwp9Cg==