The present invention provides compounds of Formula (I) and (II), or a pharmaceutically acceptable salts thereof,where R53, R54, p, q, and n are as defined herein. The compounds of the present invention have been found to be useful as 17α-hydroxylase/C17,20-lyase inhibitors.本發明係提供式(I)與(II)化合物或其藥學上可接受之鹽,其中R53,R54,p,q及n均如本文定義。已發現本發明化合物可作為17α-羥化酶/C17,20-裂解酶抑制劑使用。