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