All triples for orthogonal designs of order 40