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

import math

result = 100000
num = int(raw_input())

for i in range(num):
	result *= 1.05
	result /= 1000
	result = math.ceil(result)
	result *= 1000

print int(result) import math math result = 100000 result 100000 num = int(raw_input()) num int(raw_input()) int raw_input() raw_input for i in range(num):
	result *= 1.05
	result /= 1000
	result = math.ceil(result)
	result *= 1000 i range(num) range num result *= 1.05 result 1.05 result /= 1000 result 1000 result = math.ceil(result) result math.ceil(result) math.ceil math ceil result result *= 1000 result 1000 print int(result) int result result = 100000 100000 result result = math.ceil(result) math.ceil(result) result num = int(raw_input()) int(raw_input()) num result /= 1000 1000 result result *= 1.05 1.05 result result *= 1000 1000 result
#!/usr/bin/python
# -*- coding: utf-8 -*-

import math

result = 100000
num = int(raw_input())

for i in range(num):
	result *= 1.05
	result /= 1000
	result = math.ceil(result)
	result *= 1000

print int(result)