<gh_stars>1-10
number = int(input("Enter number: "))
counter = 1

while counter <= number:
    print(counter)
    counter = 2 * counter + 1
number = int(input("Enter number: "))
counter = 1

while counter <= number:
    print(counter)
    counter = 2 * counter + 1