window.document.write("");
#include <stdio.h>
#include <math.h>
int main() {
float a=1;
float b=1;
float n=1;
do {
    b=b+2*a;
    a=b-a;
    n=n-1
}
while (abs(b*b/a*a-2)>=0.01){
     b=b+2*a;
    a=b-a;
    n=n-1
    
}else{
    
    printf("%f",n);
}

	return 0;
}