#include<iostream>
#include<cmath>
using namespace std;
int main(){
    int n;
    cin>>n;
    int total=100;
    double sum=0;
    for(int i=0;i<n;i++){
       sum=total*1.05;
       if((sum==(int)sum)) total=(int)sum;
       else total=(int)sum + 1; 
    }
    cout<<total<<"000"<< endl;
    return 0;
}