# beersong1.py

def refrain (bottles):
    print ("Take one down")
    print ("Pass it around")

    bottles    = bottles    - 1
    

def main ():


    numbottles    = int (input ("Enter number of bottles to start: "))

    while numbottles    > 0:

        print (numbottles    ,"bottles of beer on the wall,")

        print (numbottles    , "bottles of beer!")

        refrain (numbottles)

        print (numbottles    , "bottles of beer on the wall!\n")

        input ("Press <return> to keep singing!")
    
    print ("Time to go home!")
main()
