public class Text01 {
public static void main(String[] args) {
int count = 0;
for(int i=100;i<=150;i++){
if(i % 3 !=0){
System.out.print(i+"\t");
count = count + 1;
if(count % 5 == 0)
{
System.out.print("\n");
}
}
}
}
}