print("Enter the first number in the form of a + ib")
a=int(input("Enter the value of a = "))
b=int(input("Enter the value of b = "))
print("Enter the second numebr in the form of c + id")
c=int(input("Enter the value of c = "))
d=int(input("Enter the value of d = "))
print("\n","The addition of two numbers = (a+c) + i(b+d)")
print("The number is =",a+c,"+","i",b+d)
print("\n","The subtraction of two numbers = (a-c) + i(b-d)")
print("The number is =",a-c,"+ i",b-d)
print("\n","The product of two numbers is = (ac-bd) + i(ad+bd)")
print("The number is =",a*c-b*d,"+ i",a*d+b*c)
print("\n","The division of two numbers = (ac-bd) + i(ad +bc)")
print(" --------------------")
print(" c^2 + d^2 ")
print("The number is =",a*c-b*d,"+ i",a*d+b*c)
print(" ---------")
print(" ",c**2+d**2," ")