import java.util.*;
import java.lang.*;

class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
    	Scanner in = new Scanner(System.in);
		int week = in.nextInt();
		int dept = 100000;
		
		for (int i = 0; i < week; i++) {
			// 利子の計算
			dept = (int)(dept * 1.05);
			// 1,000円未満は切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) * 1000;
				dept += 1000;
			}
		}
		
		System.out.println(dept);
		
	}
} import java.util.*; util.* java import java.lang.*; lang.* java class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
    	Scanner in = new Scanner(System.in);
		int week = in.nextInt();
		int dept = 100000;
		
		for (int i = 0; i < week; i++) {
			// 利子の計算
			dept = (int)(dept * 1.05);
			// 1,000円未満は切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) * 1000;
				dept += 1000;
			}
		}
		
		System.out.println(dept);
		
	}
} Main public static void main (String[] args) throws java.lang.Exception
	{
    	Scanner in = new Scanner(System.in);
		int week = in.nextInt();
		int dept = 100000;
		
		for (int i = 0; i < week; i++) {
			// 利子の計算
			dept = (int)(dept * 1.05);
			// 1,000円未満は切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) * 1000;
				dept += 1000;
			}
		}
		
		System.out.println(dept);
		
	} main {
    	Scanner in = new Scanner(System.in);
		int week = in.nextInt();
		int dept = 100000;
		
		for (int i = 0; i < week; i++) {
			// 利子の計算
			dept = (int)(dept * 1.05);
			// 1,000円未満は切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) * 1000;
				dept += 1000;
			}
		}
		
		System.out.println(dept);
		
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int week = in.nextInt(); week in.nextInt() in.nextInt in int dept = 100000; dept 100000 for (int i = 0; i < week; i++) {
			// 利子の計算
			dept = (int)(dept * 1.05);
			// 1,000円未満は切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) * 1000;
				dept += 1000;
			}
		} int i = 0; int i = 0; i 0 i < week i week i++ i++ i {
			// 利子の計算
			dept = (int)(dept * 1.05);
			// 1,000円未満は切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) * 1000;
				dept += 1000;
			}
		} {
			// 利子の計算
			dept = (int)(dept * 1.05);
			// 1,000円未満は切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) * 1000;
				dept += 1000;
			}
		} dept = (int)(dept * 1.05) dept (int)(dept * 1.05) dept 1.05 if (dept % 1000 != 0) {
				dept = (dept / 1000) * 1000;
				dept += 1000;
			} dept % 1000 != 0 dept % 1000 dept 1000 0 {
				dept = (dept / 1000) * 1000;
				dept += 1000;
			} dept = (dept / 1000) * 1000 dept (dept / 1000) * 1000 (dept / 1000) dept 1000 1000 dept += 1000 dept 1000 System.out.println(dept) System.out.println System.out System System.out dept String[] args args
import java.util.*;
import java.lang.*;

class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
    	Scanner in = new Scanner(System.in);
		int week = in.nextInt();
		int dept = 100000;
		
		for (int i = 0; i < week; i++) {
			// 利子の計算
			dept = (int)(dept * 1.05);
			// 1,000円未満は切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) * 1000;
				dept += 1000;
			}
		}
		
		System.out.println(dept);
		
	}
}