import math

if __name__ == '__main__':
    n = (int)(input())
    a = 100000
    for x in range(0,n):
        b = a*1.05
        c = math.ceil(b/1000)
        a = c*1000
    print(a) import math math if __name__ == '__main__':
    n = (int)(input())
    a = 100000
    for x in range(0,n):
        b = a*1.05
        c = math.ceil(b/1000)
        a = c*1000
    print(a) __name__ == '__main__' __name__ '__main__' n = (int)(input()) n (int)(input()) int input() input a = 100000 a 100000 for x in range(0,n):
        b = a*1.05
        c = math.ceil(b/1000)
        a = c*1000
     x range(0,n) range 0 n b = a*1.05 b a*1.05 a 1.05 c = math.ceil(b/1000) c math.ceil(b/1000) math.ceil math ceil b/1000 b 1000 a = c*1000 a c*1000 c 1000 print(a) print a a = c*1000 c*1000 a a = 100000 100000 a b = a*1.05 a*1.05 b c = math.ceil(b/1000) math.ceil(b/1000) c n = (int)(input()) (int)(input()) n
import math

if __name__ == '__main__':
    n = (int)(input())
    a = 100000
    for x in range(0,n):
        b = a*1.05
        c = math.ceil(b/1000)
        a = c*1000
    print(a)