"""

"""
n = 5
for num in range(30):
    n2 = n -1
    if n2 % 3 == 0:
        print(str(num))
        print("works: " + str(n))
        print("parent: " + str(n2))
        n *= 2
    else:
        print(str(num))
        print("doesn't work: " + str(n))
        n *= 2
