n=int(input())
a=100000
for i in range(n):
    a*=1.05
    if a%1000 !=0:
        a=(a//1000)*1000+1000
print(int(a)) n=int(input()) n int(input()) int input() input a=100000 a 100000 for i in range(n):
    a*=1.05
    if a%1000 !=0:
        a=(a//1000)*1000+1000 i range(n) range n a*=1.05 a 1.05 if a%1000 !=0:
        a=(a//1000)*1000+1000 a%1000 !=0 a%1000 a 1000 0 a=(a//1000)*1000+1000 a (a//1000)*1000+1000 (a//1000)*1000 a//1000 a 1000 1000 1000 print(int(a)) print int(a) int a n=int(input()) int(input()) n a=100000 100000 a a=(a//1000)*1000+1000 (a//1000)*1000+1000 a a*=1.05 1.05 a
n=int(input())
a=100000
for i in range(n):
    a*=1.05
    if a%1000 !=0:
        a=(a//1000)*1000+1000
print(int(a))
