#include <bits/stdc++.h>
//#include "bits/stdc++.h"

#define rep(i,n) for(ll (i)=0;(i)<(ll)(n);(i)++)
#define all(x) (x).begin(),(x).end()
#define MOD 1000000007LL
#define INF (1LL<<60LL)
#define int long long
typedef long long ll;

using namespace std;



signed main() {
	ll ans = 100000;
	ll n; cin >> n;
	rep(i, n) {
		ans = ll(ans * 1.05);
		if (ans % 1000 != 0) {
			ans = ans - ans % 1000 + 1000;
		}
	}
	cout << ans << endl;
}
