answer: #Person1# finally decides to get apple pie after dinner because of the idea shared by #Person2#.
documents: #Person1#: I want something sweet after dinner.
  #Person2#: What do you have in mind?
  #Person1#: A dessert sounds nice.
  #Person2#: What kind are you thinking of getting?
  #Person1#: I want to get some pie.
  #Person2#: What kind of pie do you want?
  #Person1#: I have no idea.
  #Person2#: Do you want to know what kind of pie I like?
  #Person1#: Sure, what kind do you like?
  #Person2#: I love apple pie.
  #Person1#: Oh, I love apple pie too.
  #Person2#: There you go. Problem solved.