import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while(in.hasNext()){
double n = in.nextDouble();
int m = in.nextInt();
double x=0.0;
for(int i=1;i<=m;i++){
x=x+n;
n=Math.sqrt(n);
}
System.out.printf("%.2f",x);
System.out.println();
}
}
}
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while(in.hasNext()){
int m = in.nextInt();
int n = in.nextInt();
boolean isFirst= true;
for(int i=m;i<=n;i++){
int a=i/100;
int b=(i-a*100)/10;
int c=i%10;
int sum=a*a*a+b*b*b+c*c*c;
if (i==sum) {
if (isFirst==true) {
System.out.print(sum);
isFirst = false;
}else{
System.out.print(" "+sum);
}
}
}
if(isFirst==true){
System.out.print("no");
}
System.out.println();
}
}
}
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int m = in.nextInt();
while(m-->0){
int n = in.nextInt();
double sum = 1.0;
int q = -1;
for(int i=2;i<=n;i++){
sum=sum+1.0/i*q;
q=q*-1;
}
System.out.printf("%.2f",sum);
System.out.println();
}
}
}