i=298 while~-i:print i/3or 99,'bottle'+'s of beer on the wall'[23::2],',','.\n\n')[i%3],;i-=1