﻿from random import *

def L():
    n=1
    x=randint()
    while x>=1/6:
        n=n+1
        x=randint()
    return n

