Python print results of (If ... in ....) : **keyinput = input()**

**type(keyinput)** # I type "appleandgold"

**B = "appleblue"**

**If keyinput  in B:**
    # it can check that have same word in both (apple) (i tried and it work)

 **print(*results of A in B*)**
# it should be "apple" how i print results from IF .. IN ?

**i want output look like this:** **apple**