#include<bits/stdc++.h>
using namespace std;
int main(){
int n,b=1;
float x;
cin>>x>>n;
for(b;b<=n;b++)
x=x+x*0.001;
printf("%.4f",x);
}
/**************************************************************
Problem: 1446
User: lvrenxiang
Language: C++
Result: Wrong Answer
****************************************************************/