from math import ceil

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

yen = 100000
for i in range(int(input())):
    yen = ceil((yen*1.05)/1000)*1000
print(yen)