The numbers are supposed to be the multiples of 3, with an upper limit of 30. This is pulled in through the scanner. The code print an output that looks like this:
3 6 9