Shell model study of Cl36 and A36 nuclei