##What is the runtime of the following code?
##Assume each element in the list L is a string of length
##at most K.

def mystery_pi(L):
    n = len(L)
    c = 0
    while n>0:
        n = n//2
        c += 1
    for item in L:
        print(item)