Is the following sentence linguistically acceptable?
The kennel which Mary made and Fido sleeps in has been stolen.
acceptable