import java.util.Scanner;

public class Main 
{
	public static void main(String arg[])
	{
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int de = 100000;

		for(int i=0; i<n; i++)
		{
			de = de / 100;
			de = de * 105;
			if(de%1000 != 0)
				de += 1000;
			de = de/1000;
			de = de*1000; 
		}
		System.out.println(de);
	}

} import java.util.Scanner; Scanner java.util public class Main 
{
	public static void main(String arg[])
	{
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int de = 100000;

		for(int i=0; i<n; i++)
		{
			de = de / 100;
			de = de * 105;
			if(de%1000 != 0)
				de += 1000;
			de = de/1000;
			de = de*1000; 
		}
		System.out.println(de);
	}

} Main public static void main(String arg[])
	{
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int de = 100000;

		for(int i=0; i<n; i++)
		{
			de = de / 100;
			de = de * 105;
			if(de%1000 != 0)
				de += 1000;
			de = de/1000;
			de = de*1000; 
		}
		System.out.println(de);
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int de = 100000;

		for(int i=0; i<n; i++)
		{
			de = de / 100;
			de = de * 105;
			if(de%1000 != 0)
				de += 1000;
			de = de/1000;
			de = de*1000; 
		}
		System.out.println(de);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int de = 100000; de 100000 for(int i=0; i<n; i++)
		{
			de = de / 100;
			de = de * 105;
			if(de%1000 != 0)
				de += 1000;
			de = de/1000;
			de = de*1000; 
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			de = de / 100;
			de = de * 105;
			if(de%1000 != 0)
				de += 1000;
			de = de/1000;
			de = de*1000; 
		} {
			de = de / 100;
			de = de * 105;
			if(de%1000 != 0)
				de += 1000;
			de = de/1000;
			de = de*1000; 
		} de = de / 100 de de / 100 de 100 de = de * 105 de de * 105 de 105 if(de%1000 != 0)
				de += 1000; de%1000 != 0 de%1000 de 1000 0 de += 1000 de 1000 de = de/1000 de de/1000 de 1000 de = de*1000 de de*1000 de 1000 System.out.println(de) System.out.println System.out System System.out de String arg[] arg public class Main 
{
	public static void main(String arg[])
	{
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int de = 100000;

		for(int i=0; i<n; i++)
		{
			de = de / 100;
			de = de * 105;
			if(de%1000 != 0)
				de += 1000;
			de = de/1000;
			de = de*1000; 
		}
		System.out.println(de);
	}

} public class Main 
{
	public static void main(String arg[])
	{
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int de = 100000;

		for(int i=0; i<n; i++)
		{
			de = de / 100;
			de = de * 105;
			if(de%1000 != 0)
				de += 1000;
			de = de/1000;
			de = de*1000; 
		}
		System.out.println(de);
	}

} Main
import java.util.Scanner;

public class Main 
{
	public static void main(String arg[])
	{
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int de = 100000;

		for(int i=0; i<n; i++)
		{
			de = de / 100;
			de = de * 105;
			if(de%1000 != 0)
				de += 1000;
			de = de/1000;
			de = de*1000; 
		}
		System.out.println(de);
	}

}