/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
Scanner scanIn
= new Scanner
(System.
in); double a, b, P, Q;
a = scanIn.nextDouble();
b = scanIn.nextDouble();
P = (a + b) / 2;
System.
out.
println("(a + b) / 2 = " + P
+ "!"); System.
out.
println("Math.sqrt(a * b) = " + Q
+ "!"); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVNjYW5uZXIgc2NhbkluID0gbmV3IFNjYW5uZXIoU3lzdGVtLmluKTsKCQlkb3VibGUgYSwgYiwgUCwgUTsKCQkKCQlhID0gc2NhbkluLm5leHREb3VibGUoKTsKCQliID0gc2NhbkluLm5leHREb3VibGUoKTsKCgkJUCA9IChhICsgYikgLyAyOwoJCVEgPSBNYXRoLnNxcnQoYSAqIGIpOwoKCQlTeXN0ZW0ub3V0LnByaW50bG4oIihhICsgYikgLyAyID0gIiArIFAgKyAiISIpOwoJCVN5c3RlbS5vdXQucHJpbnRsbigiTWF0aC5zcXJ0KGEgKiBiKSA9ICIgKyBRICsgIiEiKTsKCX0KfQ==