Input: Carmen bought a dress for Mary.
Output: 1