first_number = int(input("Enter a number: ")) second_number = int(input("Enter a number: ")) if second_number % first_number == 0: print(second_number, "is a multiple of", first_number) elif first_number % second_number == 0: print(second_number, "is a factor of", first_number) else: print(second_number, "are neither multiple nor a factor of", first_number)