Input: John scratched his arm and the boy who knew Mary scratched her arm.
Output: 1