Input: John in the doorway waved to his father.
Output: 0