import java.util.Scanner;

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

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