// editor1

#include<stdio.h>
#include<stdlib.h>
#include<math.h>

// double pow(double base, double exp){
//     double result=1;
//     for(int i=0; i<exp;i++){
//         result*=base;
//     }
//     return result;
// }

int main(){
    double P, R;
    char N[10];
    scanf("%lf %lf %s", &P, &R, N);
    // if(N==0||N>15||P<1||P>100000||R<0||R>20){
    
    long val=strtol(N, &ptr, 10);
    if(val==0){
        printf("Invalid input\n");
        return 0;
    }
    char *ptr;
    if(*ptr=='\0'){
        printf("Invalid input\n");
        return 0;
    }
    R=R/(12*100);
    double EMI=((P*R)*pow(1+R, val))/(pow(1+R, val)-1);
    printf("%.2lf\n", EMI);
    return 0;
}