import math

n = int(input())
m = 100000.0
for i in range(n):
    m = math.ceil((m * 1.05)/1000)*1000

print(int(m)) import math math n = int(input()) n int(input()) int input() input m = 100000.0 m 100000.0 for i in range(n):
    m = math.ceil((m * 1.05)/1000)*1000 i range(n) range n m = math.ceil((m * 1.05)/1000)*1000 m math.ceil((m * 1.05)/1000)*1000 math.ceil((m * 1.05)/1000) math.ceil math ceil (m * 1.05)/1000 m * 1.05 m 1.05 1000 1000 print(int(m)) print int(m) int m m = 100000.0 100000.0 m m = math.ceil((m * 1.05)/1000)*1000 math.ceil((m * 1.05)/1000)*1000 m n = int(input()) int(input()) n
import math

n = int(input())
m = 100000.0
for i in range(n):
    m = math.ceil((m * 1.05)/1000)*1000

print(int(m))
