#includevoid main(){ int i; for(i=0;i<500;i++) if((i%4==0)&&(i%7==0)) printf("%d\n",i);}
int a=28;while(true){if(a%4==0&&a%7==0) printf(" %d", a);a++;if(a>=500) break;}