import math

S=100000
n=int(input())

for i in range(n):
    S*=1.05
    s=S/1000
    ceilnum = math.ceil(s)
    S=ceilnum*1000 

print(S) import math math S=100000 S 100000 n=int(input()) n int(input()) int input() input for i in range(n):
    S*=1.05
    s=S/1000
    ceilnum = math.ceil(s)
    S=ceilnum*1000  i range(n) range n S*=1.05 S 1.05 s=S/1000 s S/1000 S 1000 ceilnum = math.ceil(s) ceilnum math.ceil(s) math.ceil math ceil s S=ceilnum*1000 S ceilnum*1000 ceilnum 1000 print(S) print S ceilnum = math.ceil(s) math.ceil(s) ceilnum n=int(input()) int(input()) n S=100000 100000 S S*=1.05 1.05 S s=S/1000 S/1000 s S=ceilnum*1000 ceilnum*1000 S
import math

S=100000
n=int(input())

for i in range(n):
    S*=1.05
    s=S/1000
    ceilnum = math.ceil(s)
    S=ceilnum*1000 

print(S)
