Provided is a fused heterocycle derivative showing a strong Raf inhibitory activity. A compound represented by the formula wherein each symbol is as defined in the present specification, or a salt thereof.COMPUESTOS DERIVADOS DE BENZOTIAZOLES; COMPOSICION FARMACEUTICA; Y SU USO COMO INHIBIDORES DE RAF PARA EL TRATAMIENTO O PROFILAXIS DEL CANCER.