Input: Mary sent.
Output: 0