CC(Nc1nc(-c2cccc(Br)c2)cs1)c1nc2cc(Cl)c(N3CCCCC3)cc2n1CCOCCO
For non-ionizable compounds Log P = Log D throughout pH range, whereas for ionizable compounds LogD takes into account the partition of both ionized and non-ionized forms.  What is logD of this molecule?