If input says x and y then print : Hi I'm trying to get this example code to work:

    a = ("good ")
    b = ("morning")
    z = input("Hi: ")
    z
    if z == "hello":
        print("good day!")
    elif z == a and b:
        print("Good Night")
    else:
       print("nope")
so I want it to print "Good Night" if the typed input is good morning (a and b) but it's not doing that, instead it's printing "nope", what's the mistake I'm doing?
