from math import ceil
n=int(input())
s=100000
for i in range(n):
	s +=(s*0.05)
	s=int(int(ceil(s/1000)*1000))
print(s) from math import ceil n=int(input()) n int(input()) int input() input s=100000 s 100000 for i in range(n):
	s +=(s*0.05)
	s=int(int(ceil(s/1000)*1000)) i range(n) range n s +=(s*0.05) s s*0.05 s 0.05 s=int(int(ceil(s/1000)*1000)) s int(int(ceil(s/1000)*1000)) int int(ceil(s/1000)*1000) int ceil(s/1000)*1000 ceil(s/1000) ceil s/1000 s 1000 1000 print(s) print s n=int(input()) int(input()) n s +=(s*0.05) s*0.05 s s=int(int(ceil(s/1000)*1000)) int(int(ceil(s/1000)*1000)) s s=100000 100000 s
from math import ceil
n=int(input())
s=100000
for i in range(n):
	s +=(s*0.05)
	s=int(int(ceil(s/1000)*1000))
print(s)