import math
base = 100000
r = 0.05
n = int(raw_input())
if n <= 100:
    for i in range(1, n+1):
        base = base + (base * r)
        now = int(math.ceil(base / 1000))
        base = now * 1000
    print "{}".format(base) import math math base = 100000 base 100000 r = 0.05 r 0.05 n = int(raw_input()) n int(raw_input()) int raw_input() raw_input if n <= 100:
    for i in range(1, n+1):
        base = base + (base * r)
        now = int(math.ceil(base / 1000))
        base = now * 1000
    print "{}".format(base) n <= 100 n 100 for i in range(1, n+1):
        base = base + (base * r)
        now = int(math.ceil(base / 1000))
        base = now * 1000
     i range(1, n+1) range 1 n+1 n 1 base = base + (base * r) base base + (base * r) base base * r base r now = int(math.ceil(base / 1000)) now int(math.ceil(base / 1000)) int math.ceil(base / 1000) math.ceil math ceil base / 1000 base 1000 base = now * 1000 base now * 1000 now 1000 print "{}".format(base) "{}".format "{}" format base base = now * 1000 now * 1000 base r = 0.05 0.05 r n = int(raw_input()) int(raw_input()) n base = base + (base * r) base + (base * r) base now = int(math.ceil(base / 1000)) int(math.ceil(base / 1000)) now base = 100000 100000 base
import math
base = 100000
r = 0.05
n = int(raw_input())
if n <= 100:
    for i in range(1, n+1):
        base = base + (base * r)
        now = int(math.ceil(base / 1000))
        base = now * 1000
    print "{}".format(base)