#include <iostream>
#include<math.h>
using namespace std;

int main(){ 
    int n;  
    unsigned long long int cath=100000;
    double risi;

    cin>>n; 

    for(int i=1;i<=n;i++){
        risi=cath*0.05;
        risi=ceil(risi*0.001);
        risi*=1000;
        cath+=risi;
    }
    cout<<cath<<endl;

    return 0;
}