money = 100000
unit = 1000
user = input()
n = int(user)
for i in range(n):
    money *= 1.05
    if money % unit != 0:
        money -= money % unit
        money += unit
print(str(int(money))) money = 100000 money 100000 unit = 1000 unit 1000 user = input() user input() input n = int(user) n int(user) int user for i in range(n):
    money *= 1.05
    if money % unit != 0:
        money -= money % unit
        money += unit i range(n) range n money *= 1.05 money 1.05 if money % unit != 0:
        money -= money % unit
        money += unit money % unit != 0 money % unit money unit 0 money -= money % unit money money % unit money unit money += unit money unit print(str(int(money))) print str(int(money)) str int(money) int money money = 100000 100000 money n = int(user) int(user) n money -= money % unit money % unit money money *= 1.05 1.05 money user = input() input() user unit = 1000 1000 unit money += unit unit money
money = 100000
unit = 1000
user = input()
n = int(user)
for i in range(n):
    money *= 1.05
    if money % unit != 0:
        money -= money % unit
        money += unit
print(str(int(money)))