#include<iostream>
using namespace std;
double power(double j,int n);
int main()
{
int x,n,j;
cout<<"请输入现在的数目:";
cin>>x;
j=x/(1-0.02);
cout<<"请输入经过的时间:";
cin>>n;
cout<<"原来的数目是:"<<power(j,n)<<endl;
}
double power(double j,int n)
{
double val=1;
while(n--)
val*=j;
return(val);
}