i=99;r=".\n";o=" on the wall";a=lambda n:"%d bottle"%n+["","s"][n>1]+" of beer" while i:p=a(i)+o+", "+a(i)+r;i-=1;print p+"Take one down and pass it around, "+[a(i),"no more bottles of beer on the wall.\n\nNo more bottles of beer on the wall, no more bottles of beer.\nGo to the store and buy some more. "+a(99)][i<1]+o+r