Had. .. Alternatively: James submitted "had had," while John countered with "had." The teacher admonished them both for getting stuck on dead words.