//_____________________________________________________________
public class dnamath
{ 
//_____________________________________________________________
public static final void main(String[] args) throws Exception
{
   dnamath bnk = new dnamath();
   bnk.start();
}
//_____________________________________________________________
dnamath() throws Exception 
{
}
//___________________________________________________________________________
void start()
{
   System.out.println("first second lowest count");
   calc(25,52);
   calc(37,73);
}
//___________________________________________________________________________
void calc(int v1, int v2)
{
   int cnt = 0;
   int low = 0;
   int v3 = v1 * v2;
   int v4 = v1 * v1;
   for (long i = v1; i < 1000000000000L; i += v3)
   {
      if (i % v4 == 0)
      {
         if (cnt == 0) low = (int)i;
         cnt++;
      }   
   }
   System.out.println(v1 + " " + v2 + " " + low + " " + cnt);
}
}//__________________________________________________________________________
