#include<stdio.h>int main(){ for(int i=2;i<=300;i++) { for(int j=2;j*j<=300;j++) { if(i%j!=0) printf("%d\n",i); break; } } return 0; }