#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main(): 
	week = int(input())
	base = 100000
	x = base
	for i in range(week):
		x = round(x * 1.05)
		if x % 1000 > 0:
			x = (x // 1000) *1000 +1000
	print(x)
if __name__ == '__main__':
  main() def main(): 
	week = int(input())
	base = 100000
	x = base
	for i in range(week):
		x = round(x * 1.05)
		if x % 1000 > 0:
			x = (x // 1000) *1000 +1000
	print(x) main week = int(input()) week int(input()) int input() input base = 100000 base 100000 x = base x base for i in range(week):
		x = round(x * 1.05)
		if x % 1000 > 0:
			x = (x // 1000) *1000 +1000
	 i range(week) range week x = round(x * 1.05) x round(x * 1.05) round x * 1.05 x 1.05 if x % 1000 > 0:
			x = (x // 1000) *1000 +1000
	 x % 1000 > 0 x % 1000 x 1000 0 x = (x // 1000) *1000 +1000 x (x // 1000) *1000 +1000 (x // 1000) *1000 x // 1000 x 1000 1000 1000 print(x) print x if __name__ == '__main__':
  main() __name__ == '__main__' __name__ '__main__' main() main def main(): 
	week = int(input())
	base = 100000
	x = base
	for i in range(week):
		x = round(x * 1.05)
		if x % 1000 > 0:
			x = (x // 1000) *1000 +1000
	print(x) def main(): 
	week = int(input())
	base = 100000
	x = base
	for i in range(week):
		x = round(x * 1.05)
		if x % 1000 > 0:
			x = (x // 1000) *1000 +1000
	print(x) main
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main(): 
	week = int(input())
	base = 100000
	x = base
	for i in range(week):
		x = round(x * 1.05)
		if x % 1000 > 0:
			x = (x // 1000) *1000 +1000
	print(x)
if __name__ == '__main__':
  main()