Global Relay interview question

Coding question: solving the fizbuzz qn