
import java.util.Scanner;

public class Main {
    
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int week = scan.nextInt();
        int debt = 100000;
        for(int i = 0; i < week; i++) {
            debt *= 1.05;
            debt = (int)(debt * 0.001 + 0.999) * 1000;
        }
        System.out.println(debt);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int week = scan.nextInt();
        int debt = 100000;
        for(int i = 0; i < week; i++) {
            debt *= 1.05;
            debt = (int)(debt * 0.001 + 0.999) * 1000;
        }
        System.out.println(debt);
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int week = scan.nextInt();
        int debt = 100000;
        for(int i = 0; i < week; i++) {
            debt *= 1.05;
            debt = (int)(debt * 0.001 + 0.999) * 1000;
        }
        System.out.println(debt);
    } main {
        Scanner scan = new Scanner(System.in);
        int week = scan.nextInt();
        int debt = 100000;
        for(int i = 0; i < week; i++) {
            debt *= 1.05;
            debt = (int)(debt * 0.001 + 0.999) * 1000;
        }
        System.out.println(debt);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int week = scan.nextInt(); week scan.nextInt() scan.nextInt scan int debt = 100000; debt 100000 for(int i = 0; i < week; i++) {
            debt *= 1.05;
            debt = (int)(debt * 0.001 + 0.999) * 1000;
        } int i = 0; int i = 0; i 0 i < week i week i++ i++ i {
            debt *= 1.05;
            debt = (int)(debt * 0.001 + 0.999) * 1000;
        } {
            debt *= 1.05;
            debt = (int)(debt * 0.001 + 0.999) * 1000;
        } debt *= 1.05 debt 1.05 debt = (int)(debt * 0.001 + 0.999) * 1000 debt (int)(debt * 0.001 + 0.999) * 1000 (int)(debt * 0.001 + 0.999) debt * 0.001 debt 0.001 0.999 1000 System.out.println(debt) System.out.println System.out System System.out debt String[] args args public class Main {
    
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int week = scan.nextInt();
        int debt = 100000;
        for(int i = 0; i < week; i++) {
            debt *= 1.05;
            debt = (int)(debt * 0.001 + 0.999) * 1000;
        }
        System.out.println(debt);
    }
} public class Main {
    
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int week = scan.nextInt();
        int debt = 100000;
        for(int i = 0; i < week; i++) {
            debt *= 1.05;
            debt = (int)(debt * 0.001 + 0.999) * 1000;
        }
        System.out.println(debt);
    }
} Main

import java.util.Scanner;

public class Main {
    
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int week = scan.nextInt();
        int debt = 100000;
        for(int i = 0; i < week; i++) {
            debt *= 1.05;
            debt = (int)(debt * 0.001 + 0.999) * 1000;
        }
        System.out.println(debt);
    }
}