import math

def main():
    n = int(input())
    _debt = 100000
    for i in range(n):
        _debt += math.ceil(_debt*0.05*0.001)*1000
    print(_debt)



if __name__ == '__main__':
    main() import math math def main():
    n = int(input())
    _debt = 100000
    for i in range(n):
        _debt += math.ceil(_debt*0.05*0.001)*1000
    print(_debt) main n = int(input()) n int(input()) int input() input _debt = 100000 _debt 100000 for i in range(n):
        _debt += math.ceil(_debt*0.05*0.001)*1000
     i range(n) range n _debt += math.ceil(_debt*0.05*0.001)*1000 _debt math.ceil(_debt*0.05*0.001)*1000 math.ceil(_debt*0.05*0.001) math.ceil math ceil _debt*0.05*0.001 _debt*0.05 _debt 0.05 0.001 1000 print(_debt) print _debt if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    n = int(input())
    _debt = 100000
    for i in range(n):
        _debt += math.ceil(_debt*0.05*0.001)*1000
    print(_debt) def main():
    n = int(input())
    _debt = 100000
    for i in range(n):
        _debt += math.ceil(_debt*0.05*0.001)*1000
    print(_debt) main
import math

def main():
    n = int(input())
    _debt = 100000
    for i in range(n):
        _debt += math.ceil(_debt*0.05*0.001)*1000
    print(_debt)



if __name__ == '__main__':
    main()