document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #include<iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.   int a, b, c, n=2, count=0;
  7.   cin>>a>>b>>c;
  8.   while(count != 5)
  9.   {
  10.     if(n%a==0 && n%b==0 && n%c==0)
  11.     {
  12.       count++;
  13.       cout<<n<<" ";
  14.     }
  15.     n++;
  16.   }
  17.   return 0;
  18. }
');