Compound of formula (III), (IV), (V), wherein substitute А is 5-12-member heterocyclic ring, E is CH2 or N, dotted line signifies optional double relation; and substitute values R1, R2 R3, R4, R5, R6, R7, R8, R9, R13 R14 are provided in the claims, as well as pharmaceutically acceptable salts thereof and pharmaceutical compositions on basis thereof; application of said compounds for treating prostate cancer medicament preparation. Table: 1