#include<bits/stdc++.h> using namespace std; int main(){ int n=100000,m=0; while(n>=5000){ m++; if(n>=50000){ n-=n*0.05; } else{ n-=5000; } } cout<<m; return 0; }