import math

n = int(raw_input())
r = 100000
for i in range(n):
    r *= 1.05
    r = math.ceil(r/1000) * 1000
print int(r) import math math n = int(raw_input()) n int(raw_input()) int raw_input() raw_input r = 100000 r 100000 for i in range(n):
    r *= 1.05
    r = math.ceil(r/1000) * 1000 i range(n) range n r *= 1.05 r 1.05 r = math.ceil(r/1000) * 1000 r math.ceil(r/1000) * 1000 math.ceil(r/1000) math.ceil math ceil r/1000 r 1000 1000 print int(r) int r n = int(raw_input()) int(raw_input()) n r = 100000 100000 r r = math.ceil(r/1000) * 1000 math.ceil(r/1000) * 1000 r r *= 1.05 1.05 r
import math

n = int(raw_input())
r = 100000
for i in range(n):
    r *= 1.05
    r = math.ceil(r/1000) * 1000
print int(r)