'use strict';

var readline = require('readline');

var rl = readline.createInterface({
  input: process.stdin,
  output: process.stdout,
  terminal: false
});

rl.on('line', function(line) {
  var n = Number(line.trim())
  var debt = calculateDebt(n);
  console.log(debt);
});

function calculateDebt(n) {
  var debtInThousands = 100;

  for (var i = 1; i <= n; i++) {
    debtInThousands = Math.ceil(debtInThousands * 1.05);
  }

  return debtInThousands * 1000;
}