Input: The bed which Tom slept on was hard.
Output: 1