#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double k = 1, T = 10, N, S = 10;
cin >> N;
while (N > T) {
S = S * 1.1;
T = S + T;
k++;
}
cout << k;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiAKaW50IG1haW4oKSAKewogICBkb3VibGUgayA9IDEsIFQgPSAxMCwgTiwgUyA9IDEwOwogICBjaW4gPj4gTjsKICAgd2hpbGUgKE4gPiBUKSB7CiAgICAgICBTID0gUyAqIDEuMTsKICAgICAgIFQgPSBTICsgVDsKICAgICAgIGsrKzsKICAgfQogICBjb3V0IDw8IGs7CiAgIHJldHVybiAwOwp9