//config = { input: 'tmp', newline: '\r\n' }; // win
config = { input: '/dev/stdin', newline: '\n' }; // linux

n = parseInt(
	require('fs')
	.readFileSync(config.input, 'ascii'));

dept = 100; // [unit : kilo-yen]
for (i = 0; i < n; i++)
	dept = Math.ceil(dept * 1.05);

console.log(dept + '000');