#include <stdio.h>
#include <string>
#include <iostream>

using namespace std;


int main(){
    int week;
    cin >> week;
    double money =10;
    
    for(int i=2; i<week; i++){
        money=double(int(money * 1.05+0.999));
    }
    printf("%d\n",int(money)*10000);
}