#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <stdio.h>
#include <algorithm>
#include <functional>
#include <cstring>
#include <queue>
#include <stack>
#include <math.h>
#include <iterator>
#include <vector>
#include <string>
#include <set>
#include <math.h>
#include <iostream>
using namespace std;
int main(){
	int n;
	scanf("%d", &n);
	double money = 100;
	for (int i = 0;i < n;++i) {
		money = money * 1.05;
		money = ceil(money);
	}
	int hoge = money;
	printf("%d000\n", hoge);
}
