John and Jim each took a grammar test in which they were required to indicate the number of "had"'s appropriate in a sentence. Apparently, John studied harder.
John, while Jim had had "had," had had "had had." "Had had" had had a better effect on the teacher.
Epilogue: I originally said that 4 "had"'s would not work in my hint. However, Robert Au corrected me, noting that:
John, while Jim had "had", had "". "" had a better effect on the teacher.
makes sense as well. P'raps.