#include <iostream>
using namespace std;

int main(){
 long long int Debt = 100000;
 int n;

 cin >> n;

 for (int i=0; i<n; i++) Debt = Debt * 1.05;
 if(Debt % 10000 > 0) Debt = Debt + 10000;

 cout << n << endl;

 return 0;
}