import java.util.Scanner;

public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    double N = Double.parseDouble(sc.next());
	long takahashi = 100L;
    int count = 0;

    while(true) {
    	if(takahashi>=N) {
    		System.out.println(count);
    		break;
    	}
    	takahashi =  (long) (takahashi * 1.01);
    	count++;
    }
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    double N = Double.parseDouble(sc.next());
	long takahashi = 100L;
    int count = 0;

    while(true) {
    	if(takahashi>=N) {
    		System.out.println(count);
    		break;
    	}
    	takahashi =  (long) (takahashi * 1.01);
    	count++;
    }
  }
} Main public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    double N = Double.parseDouble(sc.next());
	long takahashi = 100L;
    int count = 0;

    while(true) {
    	if(takahashi>=N) {
    		System.out.println(count);
    		break;
    	}
    	takahashi =  (long) (takahashi * 1.01);
    	count++;
    }
  } main {
    Scanner sc = new Scanner(System.in);
    double N = Double.parseDouble(sc.next());
	long takahashi = 100L;
    int count = 0;

    while(true) {
    	if(takahashi>=N) {
    		System.out.println(count);
    		break;
    	}
    	takahashi =  (long) (takahashi * 1.01);
    	count++;
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double N = Double.parseDouble(sc.next()); N Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc long takahashi = 100L; takahashi 100L int count = 0; count 0 while(true) {
    	if(takahashi>=N) {
    		System.out.println(count);
    		break;
    	}
    	takahashi =  (long) (takahashi * 1.01);
    	count++;
    } true {
    	if(takahashi>=N) {
    		System.out.println(count);
    		break;
    	}
    	takahashi =  (long) (takahashi * 1.01);
    	count++;
    } if(takahashi>=N) {
    		System.out.println(count);
    		break;
    	} takahashi>=N takahashi N {
    		System.out.println(count);
    		break;
    	} System.out.println(count) System.out.println System.out System System.out count break; takahashi =  (long) (takahashi * 1.01) takahashi (long) (takahashi * 1.01) takahashi 1.01 count++ count String[] args args public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    double N = Double.parseDouble(sc.next());
	long takahashi = 100L;
    int count = 0;

    while(true) {
    	if(takahashi>=N) {
    		System.out.println(count);
    		break;
    	}
    	takahashi =  (long) (takahashi * 1.01);
    	count++;
    }
  }
} public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    double N = Double.parseDouble(sc.next());
	long takahashi = 100L;
    int count = 0;

    while(true) {
    	if(takahashi>=N) {
    		System.out.println(count);
    		break;
    	}
    	takahashi =  (long) (takahashi * 1.01);
    	count++;
    }
  }
} Main
import java.util.Scanner;

public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    double N = Double.parseDouble(sc.next());
	long takahashi = 100L;
    int count = 0;

    while(true) {
    	if(takahashi>=N) {
    		System.out.println(count);
    		break;
    	}
    	takahashi =  (long) (takahashi * 1.01);
    	count++;
    }
  }
}