CME Group interview question

Fizzbuzz FOLLOW UP Can you do it without using modulo?