Input: Sentence 1: Shall I call a taxi?" Tommy nodded. Sentence 2: Tommy doesn't believe that they will need a taxi.
Output: 

 yes