Input: The hat which that I brought seemed strange to the nurse was a fedora.
Output: 0