import java.math.BigDecimal;
import java.util.Scanner;

public class Main{
	private static Scanner scan;
	public static void main(String[] args) {
		scan = new Scanner(System.in);
		int n = Integer.parseInt(scan.next());
		double s = 100000;
		double sa = 0;
		for(int i = 1;i <= n;i++){
			s = s + s*0.05;
			s = s / 1000;
			BigDecimal bi = new BigDecimal(String.valueOf(s));
			sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();
			sa = sa*1000;
			s = sa;
		}
		System.out.println((int)sa);
		System.exit(0);
	}
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main{
	private static Scanner scan;
	public static void main(String[] args) {
		scan = new Scanner(System.in);
		int n = Integer.parseInt(scan.next());
		double s = 100000;
		double sa = 0;
		for(int i = 1;i <= n;i++){
			s = s + s*0.05;
			s = s / 1000;
			BigDecimal bi = new BigDecimal(String.valueOf(s));
			sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();
			sa = sa*1000;
			s = sa;
		}
		System.out.println((int)sa);
		System.exit(0);
	}
} Main private static Scanner scan; scan public static void main(String[] args) {
		scan = new Scanner(System.in);
		int n = Integer.parseInt(scan.next());
		double s = 100000;
		double sa = 0;
		for(int i = 1;i <= n;i++){
			s = s + s*0.05;
			s = s / 1000;
			BigDecimal bi = new BigDecimal(String.valueOf(s));
			sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();
			sa = sa*1000;
			s = sa;
		}
		System.out.println((int)sa);
		System.exit(0);
	} main {
		scan = new Scanner(System.in);
		int n = Integer.parseInt(scan.next());
		double s = 100000;
		double sa = 0;
		for(int i = 1;i <= n;i++){
			s = s + s*0.05;
			s = s / 1000;
			BigDecimal bi = new BigDecimal(String.valueOf(s));
			sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();
			sa = sa*1000;
			s = sa;
		}
		System.out.println((int)sa);
		System.exit(0);
	} scan = new Scanner(System.in) scan new Scanner(System.in) int n = Integer.parseInt(scan.next()); n Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan double s = 100000; s 100000 double sa = 0; sa 0 for(int i = 1;i <= n;i++){
			s = s + s*0.05;
			s = s / 1000;
			BigDecimal bi = new BigDecimal(String.valueOf(s));
			sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();
			sa = sa*1000;
			s = sa;
		} int i = 1; int i = 1; i 1 i <= n i n i++ i++ i {
			s = s + s*0.05;
			s = s / 1000;
			BigDecimal bi = new BigDecimal(String.valueOf(s));
			sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();
			sa = sa*1000;
			s = sa;
		} {
			s = s + s*0.05;
			s = s / 1000;
			BigDecimal bi = new BigDecimal(String.valueOf(s));
			sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();
			sa = sa*1000;
			s = sa;
		} s = s + s*0.05 s s + s*0.05 s s*0.05 s 0.05 s = s / 1000 s s / 1000 s 1000 BigDecimal bi = new BigDecimal(String.valueOf(s)); bi new BigDecimal(String.valueOf(s)) sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue() sa bi.setScale(0,BigDecimal.ROUND_UP).doubleValue() bi.setScale(0,BigDecimal.ROUND_UP).doubleValue bi.setScale(0,BigDecimal.ROUND_UP) bi.setScale bi 0 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP sa = sa*1000 sa sa*1000 sa 1000 s = sa s sa System.out.println((int)sa) System.out.println System.out System System.out (int)sa System.exit(0) System.exit System 0 String[] args args public class Main{
	private static Scanner scan;
	public static void main(String[] args) {
		scan = new Scanner(System.in);
		int n = Integer.parseInt(scan.next());
		double s = 100000;
		double sa = 0;
		for(int i = 1;i <= n;i++){
			s = s + s*0.05;
			s = s / 1000;
			BigDecimal bi = new BigDecimal(String.valueOf(s));
			sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();
			sa = sa*1000;
			s = sa;
		}
		System.out.println((int)sa);
		System.exit(0);
	}
} public class Main{
	private static Scanner scan;
	public static void main(String[] args) {
		scan = new Scanner(System.in);
		int n = Integer.parseInt(scan.next());
		double s = 100000;
		double sa = 0;
		for(int i = 1;i <= n;i++){
			s = s + s*0.05;
			s = s / 1000;
			BigDecimal bi = new BigDecimal(String.valueOf(s));
			sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();
			sa = sa*1000;
			s = sa;
		}
		System.out.println((int)sa);
		System.exit(0);
	}
} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main{
	private static Scanner scan;
	public static void main(String[] args) {
		scan = new Scanner(System.in);
		int n = Integer.parseInt(scan.next());
		double s = 100000;
		double sa = 0;
		for(int i = 1;i <= n;i++){
			s = s + s*0.05;
			s = s / 1000;
			BigDecimal bi = new BigDecimal(String.valueOf(s));
			sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();
			sa = sa*1000;
			s = sa;
		}
		System.out.println((int)sa);
		System.exit(0);
	}
}