a=100000
for _ in range(int(input())):
	a=((a*1.05)//1000+1)*1000 if (a*1.05)%1000 else a*1.05
print(int(a)) a=100000 a 100000 for _ in range(int(input())):
	a=((a*1.05)//1000+1)*1000 if (a*1.05)%1000 else a*1.05 _ range(int(input())) range int(input()) int input() input a=((a*1.05)//1000+1)*1000 if (a*1.05)%1000 else a*1.05 a ((a*1.05)//1000+1)*1000 if (a*1.05)%1000 else a*1.05 (a*1.05)%1000 a*1.05 a 1.05 1000 ((a*1.05)//1000+1)*1000 (a*1.05)//1000+1 (a*1.05)//1000 a*1.05 a 1.05 1000 1 1000 a*1.05 a 1.05 print(int(a)) print int(a) int a a=100000 100000 a a=((a*1.05)//1000+1)*1000 if (a*1.05)%1000 else a*1.05 ((a*1.05)//1000+1)*1000 if (a*1.05)%1000 else a*1.05 a
a=100000
for _ in range(int(input())):
	a=((a*1.05)//1000+1)*1000 if (a*1.05)%1000 else a*1.05
print(int(a))