How many 4-tuples of positive integers {a,b,c,d} are there for which the lowest common multiple of any three integers in the 4-tuple is 3n5m?