Dassault Systèmes interview question

Write a code to check fizzbuz words