#include<bits/stdc++.h> using namespace std; int main() { double x,n,s; int j; cin>>x>>n; for(j=1;j<=n;j++){ s=x/1000; x=x+s; } printf("%.4f",x); } /************************************************************** Problem: 1446 User: yangjunwen Language: C++ Result: Accepted Time:13 ms Memory:2072 kb ****************************************************************/