import math
kane=100000
n=int(input())
for i in range (1,n+1):
    syaku=kane*1.05/1000
    kane=math.ceil(syaku)*1000
print(kane)
 import math math kane=100000 kane 100000 n=int(input()) n int(input()) int input() input for i in range (1,n+1):
    syaku=kane*1.05/1000
    kane=math.ceil(syaku)*1000 i range (1,n+1) range 1 n+1 n 1 syaku=kane*1.05/1000 syaku kane*1.05/1000 kane*1.05 kane 1.05 1000 kane=math.ceil(syaku)*1000 kane math.ceil(syaku)*1000 math.ceil(syaku) math.ceil math ceil syaku 1000 print(kane) print kane kane=math.ceil(syaku)*1000 math.ceil(syaku)*1000 kane n=int(input()) int(input()) n syaku=kane*1.05/1000 kane*1.05/1000 syaku kane=100000 100000 kane
import math
kane=100000
n=int(input())
for i in range (1,n+1):
    syaku=kane*1.05/1000
    kane=math.ceil(syaku)*1000
print(kane)

