inp = int(input())
debt = 100000
for i in range(inp):
    debt*=1.05
    if debt%1000 !=0:
        debt += 1000-(int(debt%1000))
print(int(debt)) inp = int(input()) inp int(input()) int input() input debt = 100000 debt 100000 for i in range(inp):
    debt*=1.05
    if debt%1000 !=0:
        debt += 1000-(int(debt%1000)) i range(inp) range inp debt*=1.05 debt 1.05 if debt%1000 !=0:
        debt += 1000-(int(debt%1000)) debt%1000 !=0 debt%1000 debt 1000 0 debt += 1000-(int(debt%1000)) debt 1000-(int(debt%1000)) 1000 int(debt%1000) int debt%1000 debt 1000 print(int(debt)) print int(debt) int debt debt = 100000 100000 debt debt += 1000-(int(debt%1000)) 1000-(int(debt%1000)) debt debt*=1.05 1.05 debt inp = int(input()) int(input()) inp
inp = int(input())
debt = 100000
for i in range(inp):
    debt*=1.05
    if debt%1000 !=0:
        debt += 1000-(int(debt%1000))
print(int(debt))