A compound represented by the formula: wherein ring A is the formula: wherein the combination of X 1, X 2 and X 3 (X 1, X 2, X 3) is (carbon atom, carbon atom, carbon atom) or (carbon atom, carbon atom, nitrogen atom); R 1 is a chlorine atom, a bromine atom, methyl, trifluoromethyl, or a hydroxy group substituted by methyl or trifluoromethyl; R 2 is a halogen atom, a C 1-6 alkyl group optionally substituted by 1 to 3 substituents selected from a halogen atom and a hydroxy group or a C 1-6 alkoxy group optionally substituted by 1 to 3 halogen atoms; ring B is optionally further substituted by 1 to 3 substituents selected from a halogen atom and a C 1-6 alkyl group optionally substituted by 1 to 3 hydroxy groups; X 6 is a hydrogen atom, a fluorine atom or a chlorine atom; X 7 is a fluorine atom or a chlorine atom; the combination of X 8 and X 9 (X 8, X 9) is (carbon atom, nitrogen atom), (nitrogen atom, carbon atom) or (nitrogen atom, nitrogen atom); ring E is optionally further substituted by 1 to 3 C 1-6 alkyl groups; and X 10 is an amino group optionally substituted by 1 - 2 substituents selected from a C 1-6 alkyl group optionally substituted by 1 to 3 hydroxy groups, a C 3-10 cycloalkyl group optionally substituted by 1 to 3 hydroxy groups and a 3- to 14-membered non-aromatic heterocyclic group; or a salt thereof. wherein ring A is the formula: wherein the combination of X 1, X 2 and X 3 (X 1, X 2, X 3) is (carbon atom, carbon atom, carbon atom) or (carbon atom, carbon atom, nitrogen atom); R 1 is a chlorine atom, a bromine atom, methyl, trifluoromethyl, or a hydroxy group substituted by methyl or trifluoromethyl; R 2 is a halogen atom, a C 1-6 alkyl group optionally substituted by 1 to 3 substituents selected from a halogen atom and a hydroxy group or a C 1-6 alkoxy group optionally substituted by 1 to 3 halogen atoms; ring B is optionally further substituted by 1 to 3 substituents selected from a halogen atom and a C 1-6 alkyl group optionally substituted by 1 to 3 hydroxy groups; X 6 is a hydrogen atom, a fluorine atom or a chlorine atom; X 7 is a fluorine atom or a chlorine atom; the combination of X 8 and X 9 (X 8, X 9) is (carbon atom, nitrogen atom), (nitrogen atom, carbon atom) or (nitrogen atom, nitrogen atom); ring E is optionally further substituted by 1 to 3 C 1-6 alkyl groups; and X 10 is an amino group optionally substituted by 1 - 2 substituents selected from a C 1-6 alkyl group optionally substituted by 1 to 3 hydroxy groups, a C 3-10 cycloalkyl group optionally substituted by 1 to 3 hydroxy groups and a 3- to 14-membered non-aromatic heterocyclic group; R 1 is a chlorine atom, a bromine atom, methyl, trifluoromethyl, or a hydroxy group substituted by methyl or trifluoromethyl; R 2 is a halogen atom, a C 1-6 alkyl group optionally substituted by 1 to 3 substituents selected from a halogen atom and a hydroxy group or a C 1-6 alkoxy group optionally substituted by 1 to 3 halogen atoms; ring B is optionally further substituted by 1 to 3 substituents selected from a halogen atom and a C 1-6 alkyl group optionally substituted by 1 to 3 hydroxy groups; X 6 is a hydrogen atom, a fluorine atom or a chlorine atom; X 7 is a fluorine atom or a chlorine atom; the combination of X 8 and X 9 (X 8, X 9) is (carbon atom, nitrogen atom), (nitrogen atom, carbon atom) or (nitrogen atom, nitrogen atom); ring E is optionally further substituted by 1 to 3 C 1-6 alkyl groups; and X 10 is an amino group optionally substituted by 1 - 2 substituents selected from a C 1-6 alkyl group optionally substituted by 1 to 3 hydroxy groups, a C 3-10 cycloalkyl group optionally substituted by 1 to 3 hydroxy groups and a 3- to 14-membered non-aromatic heterocyclic group; or a salt thereof.