#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys

money = 100000

d = int(sys.stdin.read())
for i in range(d):
  money *= 1.05
  if money%1000 != 0:
    money -= money%1000
    money += 1000
print int(money) import sys sys money = 100000 money 100000 d = int(sys.stdin.read()) d int(sys.stdin.read()) int sys.stdin.read() sys.stdin.read sys.stdin sys stdin read for i in range(d):
  money *= 1.05
  if money%1000 != 0:
    money -= money%1000
    money += 1000 i range(d) range d money *= 1.05 money 1.05 if money%1000 != 0:
    money -= money%1000
    money += 1000 money%1000 != 0 money%1000 money 1000 0 money -= money%1000 money money%1000 money 1000 money += 1000 money 1000 print int(money) int money d = int(sys.stdin.read()) int(sys.stdin.read()) d money *= 1.05 1.05 money money = 100000 100000 money money += 1000 1000 money money -= money%1000 money%1000 money
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys

money = 100000

d = int(sys.stdin.read())
for i in range(d):
  money *= 1.05
  if money%1000 != 0:
    money -= money%1000
    money += 1000
print int(money)