The devil's sequence x is defined as follows.
x0=0,x1=1,xn=2xn−1+xn−2(n≥2)
For example, x10=0.666015625, and three sixes run from the first digit after the decimal point.
Given n, write a program that finds how many sixes run consecutively from the first digit after the decimal point of xn.