James while John had had had had had had had had had had had a better effect on the teacher
= James while John had had had had had had had had had had had a better effect on the teacher
{wiki=James_while_John_had_had_had_had_had_had_had_had_had_had_had_a_better_effect_on_the_teacher}
The phrase "James while John had had had had had had had had had had had a better effect on the teacher" is a classic example of a linguistically complex sentence that plays with phrasing and punctuation to create an interesting scenario concerning the use of the word "had.