import math as m
yen = 100000
for i in range(int(input())):
    yen = m.ceil((yen*1.05)/1000)*1000
print(yen) import math as m math yen = 100000 yen 100000 for i in range(int(input())):
    yen = m.ceil((yen*1.05)/1000)*1000 i range(int(input())) range int(input()) int input() input yen = m.ceil((yen*1.05)/1000)*1000 yen m.ceil((yen*1.05)/1000)*1000 m.ceil((yen*1.05)/1000) m.ceil m ceil (yen*1.05)/1000 yen*1.05 yen 1.05 1000 1000 print(yen) print yen yen = 100000 100000 yen yen = m.ceil((yen*1.05)/1000)*1000 m.ceil((yen*1.05)/1000)*1000 yen
import math as m
yen = 100000
for i in range(int(input())):
    yen = m.ceil((yen*1.05)/1000)*1000
print(yen)