Var n, i:integer; s, k:real; begin k:=0.5; writeln('vvedy n'); readln(n); for i:=1 to n do k:=k+(k*0.5); s:=1-k; writeln(s:5:5); end.