#include <stdio.h>
#include <math.h>

int main(){
    int debt = 100;
    int n;
    int i;
    scanf("%d",&n);
    for(i=0;i<n;i++){
        debt = (int)ceil(debt*1.05);
    }
    printf("%d\n",debt*100);
}