import math
n = int(input())
a = 100000
for _ in range(n):
    a *= 1.05
    a = 1000 * math.ceil(a / 1000)
print(a)
 import math math n = int(input()) n int(input()) int input() input a = 100000 a 100000 for _ in range(n):
    a *= 1.05
    a = 1000 * math.ceil(a / 1000) _ range(n) range n a *= 1.05 a 1.05 a = 1000 * math.ceil(a / 1000) a 1000 * math.ceil(a / 1000) 1000 math.ceil(a / 1000) math.ceil math ceil a / 1000 a 1000 print(a) print a n = int(input()) int(input()) n a = 100000 100000 a a *= 1.05 1.05 a a = 1000 * math.ceil(a / 1000) 1000 * math.ceil(a / 1000) a
import math
n = int(input())
a = 100000
for _ in range(n):
    a *= 1.05
    a = 1000 * math.ceil(a / 1000)
print(a)

