def collatz(number):
    if number % 2 == 0:
        print(number // 2)
        return(number // 2)
    else:
        newNum = num * 3 + 1
        print(newNum)
        return newNum


print('Enter number:')
num = int(input())

while num != 1:
    num = collatz(num)

37736151ab42555e5df55c4c7df193b902d87a68
<mask token>

def collatz(number):
    if number % 2 == 0:
        print(number // 2)
        return number // 2
    else:
        newNum = num * 3 + 1
        print(newNum)
        return newNum


<mask token>

def collatz(number):
    if number % 2 == 0:
        print(number // 2)
        return number // 2
    else:
        newNum = num * 3 + 1
        print(newNum)
        return newNum


print('Enter number:')
<mask token>
while num != 1:
    num = collatz(num)

def collatz(number):
    if number % 2 == 0:
        print(number // 2)
        return number // 2
    else:
        newNum = num * 3 + 1
        print(newNum)
        return newNum


print('Enter number:')
num = int(input())
while num != 1:
    num = collatz(num)

def collatz(number):
    if number % 2 == 0:
        print(number // 2)
        return(number // 2)
    else:
        newNum = num * 3 + 1
        print(newNum)
        return newNum


print('Enter number:')
num = int(input())

while num != 1:
    num = collatz(num)
