def kiriage(price):
    i = int(price) / 1000
    r = price % 1000
    if r != 0:
        return 1000 * (i + 1)
    else:
        return 1000 * i

if __name__ == '__main__':
    n = int(raw_input())
    price = 100000
    for i in range(0, n):
        price = kiriage(price * 1.05)
    print price def kiriage(price):
    i = int(price) / 1000
    r = price % 1000
    if r != 0:
        return 1000 * (i + 1)
    else:
        return 1000 * i kiriage i = int(price) / 1000 i int(price) / 1000 int(price) int price 1000 r = price % 1000 r price % 1000 price 1000 if r != 0:
        return 1000 * (i + 1)
    else:
        return 1000 * i r != 0 r 0 return 1000 * (i + 1) 1000 * (i + 1) 1000 i + 1 i 1 return 1000 * i 1000 * i 1000 i price price if __name__ == '__main__':
    n = int(raw_input())
    price = 100000
    for i in range(0, n):
        price = kiriage(price * 1.05)
    print price __name__ == '__main__' __name__ '__main__' n = int(raw_input()) n int(raw_input()) int raw_input() raw_input price = 100000 price 100000 for i in range(0, n):
        price = kiriage(price * 1.05)
     i range(0, n) range 0 n price = kiriage(price * 1.05) price kiriage(price * 1.05) kiriage price * 1.05 price 1.05 print price = 100000 100000 price n = int(raw_input()) int(raw_input()) n def kiriage(price):
    i = int(price) / 1000
    r = price % 1000
    if r != 0:
        return 1000 * (i + 1)
    else:
        return 1000 * i def kiriage(price):
    i = int(price) / 1000
    r = price % 1000
    if r != 0:
        return 1000 * (i + 1)
    else:
        return 1000 * i kiriage price = kiriage(price * 1.05) kiriage(price * 1.05) price
def kiriage(price):
    i = int(price) / 1000
    r = price % 1000
    if r != 0:
        return 1000 * (i + 1)
    else:
        return 1000 * i

if __name__ == '__main__':
    n = int(raw_input())
    price = 100000
    for i in range(0, n):
        price = kiriage(price * 1.05)
    print price