from __future__ import (division, absolute_import, print_function,
                        unicode_literals)
debt = 100000.0
for i in xrange(int(raw_input())):
    debt += debt * 0.05
    debt = debt - (debt % 1000.0) + (1000.0 if debt % 1000.0 else 0.0)
print(int(debt)) from __future__ import (division, absolute_import, print_function,
                        unicode_literals) debt = 100000.0 debt 100000.0 for i in xrange(int(raw_input())):
    debt += debt * 0.05
    debt = debt - (debt % 1000.0) + (1000.0 if debt % 1000.0 else 0.0) i xrange(int(raw_input())) xrange int(raw_input()) int raw_input() raw_input debt += debt * 0.05 debt debt * 0.05 debt 0.05 debt = debt - (debt % 1000.0) + (1000.0 if debt % 1000.0 else 0.0) debt debt - (debt % 1000.0) + (1000.0 if debt % 1000.0 else 0.0) debt - (debt % 1000.0) debt debt % 1000.0 debt 1000.0 1000.0 if debt % 1000.0 else 0.0 debt % 1000.0 debt 1000.0 1000.0 0.0 print(int(debt)) print int(debt) int debt debt = 100000.0 100000.0 debt debt = debt - (debt % 1000.0) + (1000.0 if debt % 1000.0 else 0.0) debt - (debt % 1000.0) + (1000.0 if debt % 1000.0 else 0.0) debt debt += debt * 0.05 debt * 0.05 debt
from __future__ import (division, absolute_import, print_function,
                        unicode_literals)
debt = 100000.0
for i in xrange(int(raw_input())):
    debt += debt * 0.05
    debt = debt - (debt % 1000.0) + (1000.0 if debt % 1000.0 else 0.0)
print(int(debt))