import java.util.Scanner;
// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
public static void main(String[] args) {
Scanner scanner =new Scanner(System.in);
while (scanner.hasNext()){
String s = scanner.nextLine();
String[] s1 = s.split(" ");
Integer num1 = Integer.valueOf(s1[0]);
Integer num2 = Integer.valueOf(s1[1]);
int min = Integer.min(num1, num2);
int max = Integer.max(num1, num2);
for (int i = 1; i <= max; i++) {
if (min*i % max ==0){
System.out.println(min*i);
break;
}
}
}
}
}



京公网安备 11010502036488号