x,y = input().split() if eval(y)%eval(x) ==0 or eval(x)%eval(y)==0: print("Sao Multiplos") else: print("Nao sao Multiplos")