Definately a long term capital gain as all friends said rightly. Cost to previous owner would deemed to be cost of acquisition for y and z in the tratio of therir holdings... Such shared cost of acquisition would be indexed with cost inflation index. and gain would calculated accordingly..
Thanks and regards,
Manoj B. Gavali