A combination lock has digit from 0 to 39 on it . three numbers are required to open the lock. how many combinations are possible if you cannot have the same digit twice in a row