Input: The noise gave Terry a headache.
Output: 1