#include <iostream>
using namespace std;
int main(void){
    int n;
    cin>>n;
    int i;
    int m=100000;
    for(i=0;i<n;i++){
        m=m*1.05;
        if(m%1000!=0)       m=(m/1000)*1000+1000;
    }
    cout<<m;
    cout<<endl;
}

