#include <iostream><cmath>
using namespace std;
int main() {
int n=100,j,b,c=0,d=1;
for (; n < 201; n++) {
for (j=2; j <= n; j++) {
b = n % j;
if (b != 0)
continue;
if (j == n) {
cout << j << "\t";
c += 1;
if (c == 5*d) {
d += 1;
cout << endl;
}
}
else
break;
}
}
return 0;
}