Barclays Interview Question

Basic FizzBuzz like question to prove basic programming competency