Input: The noise gave a headache to Terry.
Output: 0