Ann-dimensional Borg-Levinson theorem