for(i = 5; i <= 7; i++) { for(j = 0; j <= 5; j++) { if(i == 6) { continue; } print(j); } print(i); }