import math
n=int(input())

money = 100000
par = 1.05

for i in range(n):
    up = (money*1.05)/1000
    money = math.ceil(up)*1000
    #print(up*1000, money)
print(money) import math math n=int(input()) n int(input()) int input() input money = 100000 money 100000 par = 1.05 par 1.05 for i in range(n):
    up = (money*1.05)/1000
    money = math.ceil(up)*1000
    #print(up*1000, money) i range(n) range n up = (money*1.05)/1000 up (money*1.05)/1000 money*1.05 money 1.05 1000 money = math.ceil(up)*1000 money math.ceil(up)*1000 math.ceil(up) math.ceil math ceil up 1000 print(money) print money par = 1.05 1.05 par money = math.ceil(up)*1000 math.ceil(up)*1000 money money = 100000 100000 money n=int(input()) int(input()) n up = (money*1.05)/1000 (money*1.05)/1000 up
import math
n=int(input())

money = 100000
par = 1.05

for i in range(n):
    up = (money*1.05)/1000
    money = math.ceil(up)*1000
    #print(up*1000, money)
print(money)