Input: John believes that Fred likes steak that Joe likes pizza.
Output: 0