var sample_input = require('fs').readFileSync('/dev/stdin', 'utf8');
var n = parseInt(sample_input.split("\n")[0]);
var init = 100000;
for(i=1;i<=n;i++) {
  init = Math.ceil(init*1.05/1000)*1000;
}
console.log(init);