Eight persons - A, B, C, D, E, F, G and H visit the garden on either the 8th or 27th of June, July, August and September in the same year, but not necessarily in the same order. No two persons visit on the same day.
One person visits between H and C, who visits in August.
Neither E nor H visits on an odd-numbered date.
| | Case 1 | Case 2 |
Months | Dates | Persons | Persons |
June | 8th | | |
| 27th | | |
July | 8th | H | |
| 27th | | |
August | 8th | C | C |
| 27th | | |
September | 8th | | H |
| 27th | | |
Three persons visit between D and H.
| | Case 1 | Case 2 |
Months | Dates | Persons | Persons |
June | 8th | | |
| 27th | | |
July | 8th | H | D |
| 27th | | |
August | 8th | C | C |
| 27th | | |
September | 8th | D | H |
| 27th | | |
E visits immediately before B.
A visits in July.
| | Case 1 | Case 2 |
Months | Dates | Persons | Persons |
June | 8th | E | E |
| 27th | B | B |
July | 8th | H | D |
| 27th | A | A |
August | 8th | C | C |
| 27th | | |
September | 8th | D | H |
| 27th | | |
G visits before D. Thus, case 2 is invalid.
Therefore, the final arrangement is:
Months | Dates | Persons |
June | 8th | E |
| 27th | B |
July | 8th | H |
| 27th | A |
August | 8th | C |
| 27th | G |
September | 8th | D |
| 27th | F |
Person F visits on the 27th September.