#include<iostream> int main(){ double x;scanf("%lf",&x); int n;scanf("%d",&n); for (int i=1;i<=n;i++){x+=0.001*x;} printf("%.4lf",x); }