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

n = int(sys.stdin.readline())
debt = 100000
for i in range(n):
    debt += debt // 20
    fraction = debt % 1000
    if fraction > 0:
        debt += 1000 - fraction
print(debt) import sys sys n = int(sys.stdin.readline()) n int(sys.stdin.readline()) int sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline debt = 100000 debt 100000 for i in range(n):
    debt += debt // 20
    fraction = debt % 1000
    if fraction > 0:
        debt += 1000 - fraction i range(n) range n debt += debt // 20 debt debt // 20 debt 20 fraction = debt % 1000 fraction debt % 1000 debt 1000 if fraction > 0:
        debt += 1000 - fraction fraction > 0 fraction 0 debt += 1000 - fraction debt 1000 - fraction 1000 fraction print(debt) print debt debt = 100000 100000 debt n = int(sys.stdin.readline()) int(sys.stdin.readline()) n debt += 1000 - fraction 1000 - fraction debt debt += debt // 20 debt // 20 debt fraction = debt % 1000 debt % 1000 fraction
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys

n = int(sys.stdin.readline())
debt = 100000
for i in range(n):
    debt += debt // 20
    fraction = debt % 1000
    if fraction > 0:
        debt += 1000 - fraction
print(debt)