HP Inc. interview question

Fizz buzz basic coding problem