A circus magician has a "magic box " that has exactly six chambers designed to hold at least two animals each. There are five trained animals— a frog, a hen, a mouse, a parakeet, and a rabbit. On the front of the box, chambers 1, 2, and 3 are arranged in a straight line so that chamber 1 is directly adjacent to chamber 2, and chamber 2 is directly adjacent to chamber 3. On the back of the box, the cham- bers are also arranged in a straight line with chamber 4 directly adjacent to chamber 5, and chamber 5 directly adjacent to chamber 6. No chamber in the front of the box is directly adjacent to a chamber in the back. When working with the animals, the magician must obey the following restrictions:
None of the chambers can contain more than two animals at the same time.
The mouse cannot be in the same chamber as any other animal, and any chamber directly adjacent to the chamber that the mouse occupies must remain empty.
Neither the hen nor the frog can be in the same chamber as the parakeet.
Five participants at an international conference are planning to take a car trip together. Two persons? the driver and one passenger? will sit in the front seat of the car, and three persons will sit in the back seat. The names of the five participants and all of the languages that each of them speaks are as follows:
Mohsen: Farsi and Hebrew
Orlando: Italian and Russian
Shelly: Hebrew and Russian
Theo: German and Italian
Ursula: Farsi, German, and Hebrew
The participants must be seated in the car according to the following restrictions:
The driver must be Orlando or else Shelly.
Two persons can be seated side by side only if at least one of the languages they speak is the same.
The organizers of a music festival are scheduling exactly six master classes, one class per day for six consecutive days. Three of the classes will be given by violinists and three by pianists. The only musicians who can teach the classes are the violinists F, G, H, and J, and the pianists R, S, T, W, and Z. The festival's organizers must observe the following constraints:
No musician will teach more than one class.
F will not teach unless the first three classes are taught by violinists.
If J teaches a class, it will be the sixth.
R will teach only if T teaches the first class.
No pianist will teach on a day that immediately precedes or immediately follows a day on which W teaches.