#!/usr/bin/env python
# -*- coding: utf-8 -*-
import math
n = input()
debt = 1e5
for i in range(0, n):
    debt *= 1.05
    debt = math.ceil(debt/1000) * 1000
print int(debt) import math math n = input() n input() input debt = 1e5 debt 1e5 for i in range(0, n):
    debt *= 1.05
    debt = math.ceil(debt/1000) * 1000 i range(0, n) range 0 n debt *= 1.05 debt 1.05 debt = math.ceil(debt/1000) * 1000 debt math.ceil(debt/1000) * 1000 math.ceil(debt/1000) math.ceil math ceil debt/1000 debt 1000 1000 print int(debt) int debt debt = math.ceil(debt/1000) * 1000 math.ceil(debt/1000) * 1000 debt debt = 1e5 1e5 debt n = input() input() n debt *= 1.05 1.05 debt
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import math
n = input()
debt = 1e5
for i in range(0, n):
    debt *= 1.05
    debt = math.ceil(debt/1000) * 1000
print int(debt)