打包suxueyuanli;
import java.util.Scanner;
公共类LCM {
publicstaticvoidmain (字符串精明列车args ) )。
@suppresswarnings('resource ) ) ) )。
scanners can=new scanner (system.in );
@suppresswarnings('resource ) ) ) )。
scanners can2=new scanner (system.in );
int x=scan.nextInt (;
int y=scan2.nextInt (;
int sum=0;
for(intI=1; i0; I ) {
sum=i*y;
if(sum%x==0) {
布雷克;
}
}
}
}