#include<stdio.h>
#include<math.h>
int main(){
double i,m,r,y;
scanf("%lf %lf %lf",&m,&y,&r);
i=m*pow(1+r,y)-m;
printf("interest = %.2f",i);
return 0;
}
#include<stdio.h>
#include<math.h>
int main(){
double i,m,r,y;
scanf("%lf %lf %lf",&m,&y,&r);
i=m*pow(1+r,y)-m;
printf("interest = %.2f",i);
return 0;
}