The present invention provides a compound having a lysine specific demethylase 1 inhibitory action, and useful as a medicament such as a prophylactic or therapeutic agent for schizophrenia, Alzheimers disease, Parkinsons disease or Huntingtons disease, and the like. The present invention relates to a compound represented by the formulawherein A is a hydrocarbon group optionally having substituent(s), or a heterocyclic group optionally having substituent(s)B is a benzene ring optionally having further substituent(s) R1, R2 and R3 are each independently a hydrogen atom, a hydrocarbon group optionally having substituent(s), or a heterocyclic group optionally having substituent(s)A and R1 are optionally bonded to each other to form, together with the adjacent nitrogen atom, a cyclic group optionally having substituent(s) andR2 and R3 are optionally bonded to each other to form, together with the adjacent nitrogen atom, a cyclic group optionally having substituent(s),or a salt thereof.