n = input().split() if ( int(n[0]) % int(n[1]) == 0 or int(n[1]) % int(n[0]) == 0): print ("Sao Multiplos") else: print ("Nao sao Multiplos")