import math
def int_ceil(src, range):
    return int(math.ceil(src/float(range)) * range)

def main():
    week = int(input())
    debt = 100000
    for _ in range(week):
        risi = debt * 0.05
        debt = int_ceil(debt + risi, 1000)
    print(debt)

if __name__ == "__main__":
    main() import math math def int_ceil(src, range):
    return int(math.ceil(src/float(range)) * range) int_ceil return int(math.ceil(src/float(range)) * range) int(math.ceil(src/float(range)) * range) int math.ceil(src/float(range)) * range math.ceil(src/float(range)) math.ceil math ceil src/float(range) src float(range) float range range src src range range def main():
    week = int(input())
    debt = 100000
    for _ in range(week):
        risi = debt * 0.05
        debt = int_ceil(debt + risi, 1000)
    print(debt) main week = int(input()) week int(input()) int input() input debt = 100000 debt 100000 for _ in range(week):
        risi = debt * 0.05
        debt = int_ceil(debt + risi, 1000)
     _ range(week) range week risi = debt * 0.05 risi debt * 0.05 debt 0.05 debt = int_ceil(debt + risi, 1000) debt int_ceil(debt + risi, 1000) int_ceil debt + risi debt risi 1000 print(debt) print debt if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    week = int(input())
    debt = 100000
    for _ in range(week):
        risi = debt * 0.05
        debt = int_ceil(debt + risi, 1000)
    print(debt) def main():
    week = int(input())
    debt = 100000
    for _ in range(week):
        risi = debt * 0.05
        debt = int_ceil(debt + risi, 1000)
    print(debt) main def int_ceil(src, range):
    return int(math.ceil(src/float(range)) * range) def int_ceil(src, range):
    return int(math.ceil(src/float(range)) * range) int_ceil
import math
def int_ceil(src, range):
    return int(math.ceil(src/float(range)) * range)

def main():
    week = int(input())
    debt = 100000
    for _ in range(week):
        risi = debt * 0.05
        debt = int_ceil(debt + risi, 1000)
    print(debt)

if __name__ == "__main__":
    main()
