class BottlesOfBeerSong { private number bottles; private string output; private string format; constructor(number bottles) { self(bottles, "html"); } constructor(number bottles, string format) { .bottles = bottles; .format = format; } function play() { while (.bottles > 0) { string bottles = "bottle"; .start(); if (.bottles > 1) { bottles += "s"; } .line("${.bottles} ${