import java.util.Scanner;

public class Main {
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			double result = 100000;
				for(int i = 0; n > i; i++)
				{
					result = result * 1.05;
					result = ((int)((result + 999)/1000))*1000;
				}
			System.out.println((int)result);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			double result = 100000;
				for(int i = 0; n > i; i++)
				{
					result = result * 1.05;
					result = ((int)((result + 999)/1000))*1000;
				}
			System.out.println((int)result);
	}
} Main public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			double result = 100000;
				for(int i = 0; n > i; i++)
				{
					result = result * 1.05;
					result = ((int)((result + 999)/1000))*1000;
				}
			System.out.println((int)result);
	} main {
		Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			double result = 100000;
				for(int i = 0; n > i; i++)
				{
					result = result * 1.05;
					result = ((int)((result + 999)/1000))*1000;
				}
			System.out.println((int)result);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc double result = 100000; result 100000 for(int i = 0; n > i; i++)
				{
					result = result * 1.05;
					result = ((int)((result + 999)/1000))*1000;
				} int i = 0; int i = 0; i 0 n > i n i i++ i++ i {
					result = result * 1.05;
					result = ((int)((result + 999)/1000))*1000;
				} {
					result = result * 1.05;
					result = ((int)((result + 999)/1000))*1000;
				} result = result * 1.05 result result * 1.05 result 1.05 result = ((int)((result + 999)/1000))*1000 result ((int)((result + 999)/1000))*1000 ((int)((result + 999)/1000)) (result + 999) result 999 1000 1000 System.out.println((int)result) System.out.println System.out System System.out (int)result String[] args args public class Main {
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			double result = 100000;
				for(int i = 0; n > i; i++)
				{
					result = result * 1.05;
					result = ((int)((result + 999)/1000))*1000;
				}
			System.out.println((int)result);
	}
} public class Main {
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			double result = 100000;
				for(int i = 0; n > i; i++)
				{
					result = result * 1.05;
					result = ((int)((result + 999)/1000))*1000;
				}
			System.out.println((int)result);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			double result = 100000;
				for(int i = 0; n > i; i++)
				{
					result = result * 1.05;
					result = ((int)((result + 999)/1000))*1000;
				}
			System.out.println((int)result);
	}
}