import random
def sT(nF):
	prev=random.randint(0,1)
	for i in range (1,nF):
		curr=random.randint(0,1)
		if curr==prev==1:
			return True
		prev=curr
	return False
def sim():
	p=0
	for i in range(10000):
		if sT(5):
			p+=1
	return (p/10000)
print(sim())

9ba90f9a55f82e35ace24e3f1beb9ac0b4eee1c0
<mask token>

<mask token>


def sT(nF):
    prev = random.randint(0, 1)
    for i in range(1, nF):
        curr = random.randint(0, 1)
        if curr == prev == 1:
            return True
        prev = curr
    return False


def sim():
    p = 0
    for i in range(10000):
        if sT(5):
            p += 1
    return p / 10000


<mask token>

<mask token>


def sT(nF):
    prev = random.randint(0, 1)
    for i in range(1, nF):
        curr = random.randint(0, 1)
        if curr == prev == 1:
            return True
        prev = curr
    return False


def sim():
    p = 0
    for i in range(10000):
        if sT(5):
            p += 1
    return p / 10000


print(sim())

import random


def sT(nF):
    prev = random.randint(0, 1)
    for i in range(1, nF):
        curr = random.randint(0, 1)
        if curr == prev == 1:
            return True
        prev = curr
    return False


def sim():
    p = 0
    for i in range(10000):
        if sT(5):
            p += 1
    return p / 10000


print(sim())

import random
def sT(nF):
	prev=random.randint(0,1)
	for i in range (1,nF):
		curr=random.randint(0,1)
		if curr==prev==1:
			return True
		prev=curr
	return False
def sim():
	p=0
	for i in range(10000):
		if sT(5):
			p+=1
	return (p/10000)
print(sim())
