A compound of the formula: wherein Ring A and Ring B are: (1) Ring A is an optionally substituted unsaturated monocyclic heterocyclic ring, and Ring B is an optionally substituted unsaturated monocyclic heterocyclic ring, an optionally substituted unsaturated fused heterobicyclic ring, or an optionally substituted benzene ring, (2) Ring A is an optionally substituted benzene ring, and Ring B is an optionally substituted unsaturated monocyclic heterocyclic ring or an optionally substituted unsaturated fused heterobicyclic ring, or (3) Ring A is an optionally substituted unsaturated fused heterobicyclic ring, and Ring B are independently an optionally substituted unsaturated monocyclic heterocyclic ring, an optionally substituted unsaturated fused heterobicyclic ring, or an optionally substituted benzene ring; X is a carbon atom or a nitrogen atom; Y is ۥ(CH 2 ) n -(n is 1 or 2); a pharmaceutically acceptable salt thereof, or a prodrug thereof.