var I,N: integer;
S,X: real;
begin
Readln(X);
Readln(N);
S:=1;
For I:=1 to N do S:=S+1/I*X;
Writeln(S)
end.
var I,N: integer;
S,X: real;
begin
Readln(X);
Readln(N);
S:=0;
I:=1;
while I S:=S+I*X
end;
Writeln(S)
end.
var I,N: integer;
S,X: real;
begin
Readln(X);
Readln(N);
S:=0;
I:=1;
repeat I:=I+1;
S:=S+I*X
until not (IWriteln(S)
end.