#include <iostream>
using namespace std;
 
int main()
{
    int n,a = 100000;
    cin >> n;
    for(int i=0;i<=n;i++)
    {
        a *= 1.05;
        
            a += 1000-cur%1000;
        
    }
    cout << a << endl;
     
}