import math
n = int(input())
s = 100000
r = 0.05
while n > 0:
    s += math.ceil((s * r) / 1000) * 1000
    n -= 1
print(s) import math math n = int(input()) n int(input()) int input() input s = 100000 s 100000 r = 0.05 r 0.05 while n > 0:
    s += math.ceil((s * r) / 1000) * 1000
    n -= 1 n > 0 n 0 s += math.ceil((s * r) / 1000) * 1000 s math.ceil((s * r) / 1000) * 1000 math.ceil((s * r) / 1000) math.ceil math ceil (s * r) / 1000 s * r s r 1000 1000 n -= 1 n 1 print(s) print s n = int(input()) int(input()) n s += math.ceil((s * r) / 1000) * 1000 math.ceil((s * r) / 1000) * 1000 s r = 0.05 0.05 r s = 100000 100000 s n -= 1 1 n
import math
n = int(input())
s = 100000
r = 0.05
while n > 0:
    s += math.ceil((s * r) / 1000) * 1000
    n -= 1
print(s)