#! /usr/bin/python3

m=100
for _ in range(int(input())):
    m = int(m*1.05+0.999)
print(m*1000) m=100 m 100 for _ in range(int(input())):
    m = int(m*1.05+0.999) _ range(int(input())) range int(input()) int input() input m = int(m*1.05+0.999) m int(m*1.05+0.999) int m*1.05+0.999 m*1.05 m 1.05 0.999 print(m*1000) print m*1000 m 1000 m = int(m*1.05+0.999) int(m*1.05+0.999) m m=100 100 m
#! /usr/bin/python3

m=100
for _ in range(int(input())):
    m = int(m*1.05+0.999)
print(m*1000)