base, rate = 100, 0.05
for _ in range(int(input())):
    increment = base * rate
    base += round(increment + (0 if increment.is_integer() else 0.5))

print(base * 1000) base, rate = 100, 0.05 base 100 rate 0.05 for _ in range(int(input())):
    increment = base * rate
    base += round(increment + (0 if increment.is_integer() else 0.5)) _ range(int(input())) range int(input()) int input() input increment = base * rate increment base * rate base rate base += round(increment + (0 if increment.is_integer() else 0.5)) base round(increment + (0 if increment.is_integer() else 0.5)) round increment + (0 if increment.is_integer() else 0.5) increment 0 if increment.is_integer() else 0.5 increment.is_integer() increment.is_integer increment is_integer 0 0.5 print(base * 1000) print base * 1000 base 1000 increment = base * rate base * rate increment base += round(increment + (0 if increment.is_integer() else 0.5)) round(increment + (0 if increment.is_integer() else 0.5)) base rate = 100, 0.05 0.05 rate base, rate = 100, 0.05 100 base
base, rate = 100, 0.05
for _ in range(int(input())):
    increment = base * rate
    base += round(increment + (0 if increment.is_integer() else 0.5))

print(base * 1000)