Thomson Reuters interview question

Fizzbuzz