def main():
	from math import ceil

	debt = 100000
	n = int(input())

	for _ in range(n):
		debt *= 1.05
		debt = ceil(debt/1000)*1000

	print(debt)


if __name__ == '__main__':
	main() def main():
	from math import ceil

	debt = 100000
	n = int(input())

	for _ in range(n):
		debt *= 1.05
		debt = ceil(debt/1000)*1000

	print(debt) main from math import ceil debt = 100000 debt 100000 n = int(input()) n int(input()) int input() input for _ in range(n):
		debt *= 1.05
		debt = ceil(debt/1000)*1000

	 _ range(n) range n debt *= 1.05 debt 1.05 debt = ceil(debt/1000)*1000 debt ceil(debt/1000)*1000 ceil(debt/1000) ceil debt/1000 debt 1000 1000 print(debt) print debt if __name__ == '__main__':
	main() __name__ == '__main__' __name__ '__main__' main() main def main():
	from math import ceil

	debt = 100000
	n = int(input())

	for _ in range(n):
		debt *= 1.05
		debt = ceil(debt/1000)*1000

	print(debt) def main():
	from math import ceil

	debt = 100000
	n = int(input())

	for _ in range(n):
		debt *= 1.05
		debt = ceil(debt/1000)*1000

	print(debt) main
def main():
	from math import ceil

	debt = 100000
	n = int(input())

	for _ in range(n):
		debt *= 1.05
		debt = ceil(debt/1000)*1000

	print(debt)


if __name__ == '__main__':
	main()