n=int(input())
hennsai=100000
for i in range(n):
    hennsai=int(hennsai*1.05)
    if hennsai % 1000>0:
        hennsai=(hennsai - hennsai % 1000) + 1000
print(hennsai)

    

9ac8d22a4bbf9fe3591eb78d71c3c8449508a3ec
<mask token>

<mask token>
for i in range(n):
    hennsai = int(hennsai * 1.05)
    if hennsai % 1000 > 0:
        hennsai = hennsai - hennsai % 1000 + 1000
print(hennsai)

n = int(input())
hennsai = 100000
for i in range(n):
    hennsai = int(hennsai * 1.05)
    if hennsai % 1000 > 0:
        hennsai = hennsai - hennsai % 1000 + 1000
print(hennsai)

n=int(input())
hennsai=100000
for i in range(n):
    hennsai=int(hennsai*1.05)
    if hennsai % 1000>0:
        hennsai=(hennsai - hennsai % 1000) + 1000
print(hennsai)

    
