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