#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main() {
    long double arr[100000];
    for (int x = 0; x<100000; x++) {
        cin >> arr[x];
    }
    for (int y = 100000; y--;) {
        arr[y] = sqrt(arr[y]);
        cout << fixed << setprecision(4) << (arr[y]) << endl;
    }
    return 0;
}