#include <stdio.h>
#include <math.h>
int main(){
    int p,r,n;
    scanf("%d %d %d",&p,&r,&n);
    if(n<=0){
        printf("Invalid input");
        return 0;
    }
    float emi;
    int pw=pow(1+r,n);
    emi=(p*r*pw)/(pw-1);
    printf("%.2f",emi)
    
}