var n: double; begin readln(n); writeln(nn(n+1)/(2n-1)/(2n):0:9); end.