Input: We all thought he to be unhappy
Output: 0