class B{public static void main(String[]a){int n=99;String o=" bottle",e=" of beer",b=n+o+'s'+e,w=" on the wall\n";while(n>0)System.out.println(b+w+b+"\nTake one down, and pass it around\n"+(b=(--n>0?n:"No")+o+(n==1?"":'s')+e)+w);}}
