#include<stdio.h>
#include<math.h>

int main(){
    
    float P,R;
    
    scanf("%f", &P);
    scanf("%f", &R);
    int N;
    scanf("%d", &N);
    
    float EMI;
    
    EMI =  ((P*R(1+R)pow N)/(1 +R)pow N -1);
    
    printf("%f", EMI);
}