#include <stdio.h>
int main()
{
    #define Q(i) i, (i==1?a:b)
    char *a = "bottle of beer";
    char *b = "bottles of beer";
    
    for(int i=100;i-->1;)
		printf("%i %s on the wall, %i %s.\n"
			   "Take one down and pass it around, %i %s on the wall.\n\n",
               Q(i), Q(i), Q((i-1)));
    
    printf("No more bottles of beer on the wall, no more bottles of beer.\n"
           "Go to the store and buy some more, 99 bottles of beer on the wall.\n");
}