while True:
    ui = input(">>> ")
    if ui in ['hi', 'HI', 'Hi']:
        print("Hello")
    else:
        print("I did not understand what you said")
        