Input: Mary considered he to have loved her.
Output: 0