import java.util.Scanner;

class Main
{
	public static void main(String args[])
	{
		Scanner sc = new Scanner(System.in);
		int money = 100000;
		int n = sc.nextInt();
		
		for (int i = 0; i < n ; i++)
		{
			money += money * 5 / 100;
			int a;
			if ((a = money % 1000) != 0) money = money - a + 1000; 
		}
		System.out.println(Integer.toString(money));
	}
} import java.util.Scanner; Scanner java.util class Main
{
	public static void main(String args[])
	{
		Scanner sc = new Scanner(System.in);
		int money = 100000;
		int n = sc.nextInt();
		
		for (int i = 0; i < n ; i++)
		{
			money += money * 5 / 100;
			int a;
			if ((a = money % 1000) != 0) money = money - a + 1000; 
		}
		System.out.println(Integer.toString(money));
	}
} Main public static void main(String args[])
	{
		Scanner sc = new Scanner(System.in);
		int money = 100000;
		int n = sc.nextInt();
		
		for (int i = 0; i < n ; i++)
		{
			money += money * 5 / 100;
			int a;
			if ((a = money % 1000) != 0) money = money - a + 1000; 
		}
		System.out.println(Integer.toString(money));
	} main {
		Scanner sc = new Scanner(System.in);
		int money = 100000;
		int n = sc.nextInt();
		
		for (int i = 0; i < n ; i++)
		{
			money += money * 5 / 100;
			int a;
			if ((a = money % 1000) != 0) money = money - a + 1000; 
		}
		System.out.println(Integer.toString(money));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int money = 100000; money 100000 int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc for (int i = 0; i < n ; i++)
		{
			money += money * 5 / 100;
			int a;
			if ((a = money % 1000) != 0) money = money - a + 1000; 
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			money += money * 5 / 100;
			int a;
			if ((a = money % 1000) != 0) money = money - a + 1000; 
		} {
			money += money * 5 / 100;
			int a;
			if ((a = money % 1000) != 0) money = money - a + 1000; 
		} money += money * 5 / 100 money money * 5 / 100 money * 5 money 5 100 int a; a if ((a = money % 1000) != 0) money = money - a + 1000; (a = money % 1000) != 0 (a = money % 1000) a money % 1000 money 1000 0 money = money - a + 1000 money money - a + 1000 money - a money a 1000 System.out.println(Integer.toString(money)) System.out.println System.out System System.out Integer.toString(money) Integer.toString Integer money String args[] args
import java.util.Scanner;

class Main
{
	public static void main(String args[])
	{
		Scanner sc = new Scanner(System.in);
		int money = 100000;
		int n = sc.nextInt();
		
		for (int i = 0; i < n ; i++)
		{
			money += money * 5 / 100;
			int a;
			if ((a = money % 1000) != 0) money = money - a + 1000; 
		}
		System.out.println(Integer.toString(money));
	}
}