For details of app see http://en.wikipedia.org/wiki/Fizz_buzz