import java.util.*;
import java.lang.*;

public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        String x = sc.next();
		long X = Long.valueOf(x);
		double arg = 100;
		int ans = 0;

        while(arg < X) {
			arg = Math.floor(arg * 1.01);
			ans++;
        }

		System.out.println(ans);

        sc.close();
    }    
} import java.util.*; util.* java import java.lang.*; lang.* java public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        String x = sc.next();
		long X = Long.valueOf(x);
		double arg = 100;
		int ans = 0;

        while(arg < X) {
			arg = Math.floor(arg * 1.01);
			ans++;
        }

		System.out.println(ans);

        sc.close();
    }    
} Main public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        String x = sc.next();
		long X = Long.valueOf(x);
		double arg = 100;
		int ans = 0;

        while(arg < X) {
			arg = Math.floor(arg * 1.01);
			ans++;
        }

		System.out.println(ans);

        sc.close();
    } main {
        
        Scanner sc = new Scanner(System.in);
        String x = sc.next();
		long X = Long.valueOf(x);
		double arg = 100;
		int ans = 0;

        while(arg < X) {
			arg = Math.floor(arg * 1.01);
			ans++;
        }

		System.out.println(ans);

        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String x = sc.next(); x sc.next() sc.next sc long X = Long.valueOf(x); X Long.valueOf(x) Long.valueOf Long x double arg = 100; arg 100 int ans = 0; ans 0 while(arg < X) {
			arg = Math.floor(arg * 1.01);
			ans++;
        } arg < X arg X {
			arg = Math.floor(arg * 1.01);
			ans++;
        } arg = Math.floor(arg * 1.01) arg Math.floor(arg * 1.01) Math.floor Math arg * 1.01 arg 1.01 ans++ ans System.out.println(ans) System.out.println System.out System System.out ans sc.close() sc.close sc String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        String x = sc.next();
		long X = Long.valueOf(x);
		double arg = 100;
		int ans = 0;

        while(arg < X) {
			arg = Math.floor(arg * 1.01);
			ans++;
        }

		System.out.println(ans);

        sc.close();
    }    
} public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        String x = sc.next();
		long X = Long.valueOf(x);
		double arg = 100;
		int ans = 0;

        while(arg < X) {
			arg = Math.floor(arg * 1.01);
			ans++;
        }

		System.out.println(ans);

        sc.close();
    }    
} Main
import java.util.*;
import java.lang.*;

public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        String x = sc.next();
		long X = Long.valueOf(x);
		double arg = 100;
		int ans = 0;

        while(arg < X) {
			arg = Math.floor(arg * 1.01);
			ans++;
        }

		System.out.println(ans);

        sc.close();
    }    
}
