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

