#include <iostream>
#include <algorithm>
#define MAX 100
using namespace std;

int main(){
	int n;
	int total;
	
	cin >> n;
	
	total = 100000 + ((0.05 * 100000)*n);
	if(total % 10000 != 0){
		total = total - (total % 10000);
		total = total + 10000;
	}
	
	cout << total << endl;
	
	return 0;
}