#include"stdio.h"
#include"math.h"
int main(void)
{
    int n,y;
    double r,s;
    scanf("%d%d%d",&n,&r,&y);
    s=n*pow(1+r,y);
    printf("Y年后的总产值是%f\n",s);
    getchar();
    return 0; 
}