/* 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
{
static double resta(double n, double m){
return (n - m); }
static double suma(double n, double m){
return (n + m); }
static double multiplica(double n, double m){
return (n * m); }
static double cuadrado(double n){
return (n * n); }
System.
out.
println(resta
(4,
10)); System.
out.
println(suma
(4,
10)); System.
out.
println(multiplica
(4,
10)); System.
out.
println(cuadrado
(10));
} // end main
} // end class
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKc3RhdGljIGRvdWJsZSByZXN0YShkb3VibGUgbiwgZG91YmxlIG0pewoJCQlyZXR1cm4gKG4gLSBtKTsgfQoJCQoJCXN0YXRpYyBkb3VibGUgc3VtYShkb3VibGUgbiwgZG91YmxlIG0pewoJCXJldHVybiAobiArIG0pOyB9CgkJCgkJc3RhdGljIGRvdWJsZSBtdWx0aXBsaWNhKGRvdWJsZSBuLCBkb3VibGUgbSl7CgkJCXJldHVybiAobiAqIG0pOyB9CgkJCgkJc3RhdGljIGRvdWJsZSBjdWFkcmFkbyhkb3VibGUgbil7CgkJcmV0dXJuIChuICogbik7IH0gCgkJCgkJCgkJCiAgICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCXsKICAgICAKICAgICBTeXN0ZW0ub3V0LnByaW50bG4ocmVzdGEoNCwgMTApKTsKICAgICBTeXN0ZW0ub3V0LnByaW50bG4oc3VtYSg0LCAxMCkpOwogICAgIFN5c3RlbS5vdXQucHJpbnRsbihtdWx0aXBsaWNhKDQsIDEwKSk7CiAgICAgU3lzdGVtLm91dC5wcmludGxuKGN1YWRyYWRvKDEwKSk7CgkKICAgICAJCiAgICAgfSAvLyBlbmQgbWFpbgp9IC8vIGVuZCBjbGFzcw==