COC1(OC)C[C@H](C)[C@@]23O[C@]24c2cc(O)c5c(c2N[C@H]3C#C/C=C\C#C[C@]14O)C(=O)c1ccccc1C5=O
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?