Input: Carmen bought a dress to Mary.
Output: 0