#include <iostream>
#include <iomanip>
#include <cmath>
#include <vector>
using namespace std;
int main() {
cout << setprecision(4);
vector<double> v;
double n;
while (cin >> n)
v.push_back(n);
for (int i = v.size() - 1; i >= 0; i--)
cout << sqrt(v[i]) << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aW9tYW5pcD4KI2luY2x1ZGUgPGNtYXRoPgojaW5jbHVkZSA8dmVjdG9yPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewogICAgY291dCA8PCBzZXRwcmVjaXNpb24oNCk7CiAgICB2ZWN0b3I8ZG91YmxlPiB2OwogICAgZG91YmxlIG47CiAgICB3aGlsZSAoY2luID4+IG4pCiAgICAgICAgdi5wdXNoX2JhY2sobik7CiAgICBmb3IgKGludCBpID0gdi5zaXplKCkgLSAxOyBpID49IDA7IGktLSkKICAgICAgICBjb3V0IDw8IHNxcnQodltpXSkgPDwgZW5kbDsKfQ==