The invention is concerned with novel cyclic amines of formula (I) wherein X1to X3, Y1 to Y3, R1~ , R1~~ and n are as defined in the description and in theclaims, as well as physiologically acceptable salts thereof. These compoundsinhibit the coagulation factor Xa and can be used as medicaments.