Input: John sang beautifully and a carol.
Output: 0