Input: Mary thinks for Bill to come.
Output: 0