#include <iostream> using namespace std; bool div; int main() { for (unsigned int i=1; i<1000000000; i++) { div=true; for (int j=2; j<=20; j++) { if((i%j)!=0) { div=false; break; } } if(div) { cout << i << endl; break; } } return 0; }