real1 = float(input("Enter the real part of the first complex number: ")) imag1 = float(input("Enter the imaginary part of the first complex number: ")) real2 = float(input("Enter the real part of the second complex number: ")) imag2 = float(input("Enter the imaginary part of the second complex number: "))