Input: Sentence 1: What's frustrating about all this is that the moment when a company goes public is when the stock market should function most efficiently. Sentence 2: The stock market should be at its best when a company goes public.
Output: 

 yes