#include <stdio.h>
#include <string.h>
#include <ctype.h>
int main() {
    float P, R;
    int N;
    scanf("%f%f%d", &P, &R, &N);
    if(P<=0, P>1000000 || R < = 0 || R > 15 || N<0 ||  N > 15) {
        printf("Invalid input");
        return 0;
    }
    float monthlyRate = R/(12*100);
    float emi = (p*monthlyRate*pow(1 + monthlyRate, N))/(pow(1 + monthlyRate, N)-1);
    printf("%.2f\n", emi);
    return 0;
    
}