IBM interview question

FizzBuzz was on the HackerRank