Compound of formula (I), wherein Y is -O-, -S-, -NRc- or optionally substituted methyl group; and values of substitutions R, Z1, Z2, Z3, Z4 and Rc, a salt thereof and a medicine on a basis thereof, which is an inhibitor of phosphodiesterase 10 А, are provided in the claims. Table: 40