import sys
import math

monney = 100000
n = int(sys.stdin.readline().rstrip())
for i in range(n):
    monney = math.ceil(monney * 1.05 / 1000) * 1000
print(monney) import sys sys import math math monney = 100000 monney 100000 n = int(sys.stdin.readline().rstrip()) n int(sys.stdin.readline().rstrip()) int sys.stdin.readline().rstrip() sys.stdin.readline().rstrip sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline rstrip for i in range(n):
    monney = math.ceil(monney * 1.05 / 1000) * 1000 i range(n) range n monney = math.ceil(monney * 1.05 / 1000) * 1000 monney math.ceil(monney * 1.05 / 1000) * 1000 math.ceil(monney * 1.05 / 1000) math.ceil math ceil monney * 1.05 / 1000 monney * 1.05 monney 1.05 1000 1000 print(monney) print monney n = int(sys.stdin.readline().rstrip()) int(sys.stdin.readline().rstrip()) n monney = math.ceil(monney * 1.05 / 1000) * 1000 math.ceil(monney * 1.05 / 1000) * 1000 monney monney = 100000 100000 monney
import sys
import math

monney = 100000
n = int(sys.stdin.readline().rstrip())
for i in range(n):
    monney = math.ceil(monney * 1.05 / 1000) * 1000
print(monney)