#include<stdio.h>int main(){int m,n; for(m=3;m<=100;m++) for(n=2;n<=m-1;n++) {if(m%n!=0) continue; while(n=m-1) printf("%d\n",n); } return 0; }