The method should printout line numbers from 1 to howmany in the previous format -ONLY WHEN is divisble by 3 but is should not oupt more then 3 numbers on the line.
input 1
output input is not divisible by 3
input 3
output [1] (2) <3>
input 4
output input is not divisible by 3
input 6
output [1] (2) <3>
[4] (5) <6>
input 9
output
output [1] (2) <3>
[4] (5) <6>
[7] (8) <9>