#include <iostream>
#include <string>
using namespace std;
template <typename T> T square(T v) { return v*v; }
int f(int v) { return square(v); }
double f(double v) { return square(v); }
class Shit
{
};
int main()
{
cout << f(4) << endl;
cout << f(5.7) << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgogCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiAKdGVtcGxhdGUgPHR5cGVuYW1lIFQ+IFQgc3F1YXJlKFQgdikgeyByZXR1cm4gdip2OyB9CmludCBmKGludCB2KSB7IHJldHVybiBzcXVhcmUodik7IH0KZG91YmxlIGYoZG91YmxlIHYpIHsgcmV0dXJuIHNxdWFyZSh2KTsgfQogCmNsYXNzIFNoaXQKewogCn07CiAKaW50IG1haW4oKQp7CiAKY291dCA8PCBmKDQpIDw8IGVuZGw7CmNvdXQgPDwgZig1LjcpIDw8IGVuZGw7CgpyZXR1cm4gMDsKfQ==