import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int x=sc.nextInt();
int y=sc.nextInt();
if(y%x==0 || x%y==0){
System.out.println("Sao Multiplos");
}else{
System.out.println("Nao sao Multiplos");
}
}
}