(SOLVED)Can any one help?

 if(i > 16)

Did you mean "==" and not ">", perhaps?