Input: So intelligent a dog did you buy that everyone gasped.
Output: 1