#include<bits/stdc++.h>
using namespace std;

int main(){
	//solve sqrt(x) 精度0.0001
	double x=26;
	
	double L=0,R=x;
	while(R-L>0.001){
		double M=(L+R)/2;
		if (M*M>x) R=M;
		else L=M;
	    cout<<fixed<<setprecision(8)<<L<<" "<<R<<endl;
    }
}