import java.io.*;

public class Nibun {
    public static void main(String args[]) {
	int n;
	double a, b, c, x, fa, fb, fc, eps;

	// 初期値
	a=1.0; b=Math.E; c=0.0; x=0.0; fa=0.0; fb=0.0; fc=0.0; eps=1.0;

	// 二分法
	while(eps>1.0E-5) {
	    c = (a + b) / 2;
	    
	    Nibun fx = new Nibun();
	    fa = fx.calc(a);
	    fb = fx.calc(b);
	    fc = fx.calc(c);
	    
	    if(fa*fc<0) {
		b = c;
		fb = fc;
	    }
	    else if(fb*fc<0) {
		a = c;
		fa = fc;
	    }
	    else {
		System.out.println("おかしいよ。");
		break;
	    }
	    
	    eps = Math.abs(b-a);
	}
	System.out.println(c);
	System.out.println(1.76*Math.log(1.76)-1.0);
    }
    
    // x*log(x)-1=0 の計算
	double calc(double x) {
	    double f = 0.0;
	    f = x * Math.log(x) - 1.0;
	    return f;
	}
}
