Solution:

Thomas did it: he did not deny and he is implicitly accused by the two others.